摘要: C#中get和set,get是只读,set是只写,是C#对属性的读取和写入 public class Student { private string name; public string Name { get { return name; } set { name = val... 阅读全文
posted @ 2012-03-22 22:34 Rocky Zhang 阅读(628) 评论(1) 推荐(0) 编辑