From base class in C#, get derived type?

前端 未结 2 1114
无人共我
无人共我 2021-02-02 05:21

Let\'s say we\'ve got these two classes:

public class Derived : Base
{
    public Derived(string s)
        : base(s)
    { }
}

public class Base
{
    protecte         


        
2条回答
提交回复
热议问题