C# Define base class by

后端 未结 4 1052
耶瑟儿~
耶瑟儿~ 2021-01-14 03:11

I am trying to find a way to derive a class from a generic base class. Say:

sealed public class Final : Base
{

}

public class Base

        
4条回答
  •  无人及你
    2021-01-14 03:21

    Is this what you want?

    sealed public class Final : Base{
    
    }
    
    public class Base {
    
    }
    

提交回复
热议问题