i have a field called name and i want it to be must be implemented in derived classes in c#

后端 未结 0 1328
醉梦人生
醉梦人生 2020-11-21 10:50

i have scenario like below

public abstract class Test 
{
   public string name; 
   public abstract bool is_selected();
}

public class Campus : Test 
{  

}
         


        
相关标签:
回答
  • 消灭零回复
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题