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

后端 未结 0 1317
醉梦人生
醉梦人生 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 
{  

}
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题