类的修饰符
可修饰的有:public、internal、sealed、abstract
不可修饰的:private、protected
1 public class student //类 2 { 3 private int sId{get;set;} //类成员 4 public string sName{get;set;} 5 }
类成员的修饰符
pulbic、private、internal、protected
标签:set,C#,成员,修饰符,private,public,中类 From: https://www.cnblogs.com/zmzj/p/17274182.html