2011年8月16日
摘要: 最近发现this 有一个很有意思的地方 当我们需要多个构造函数的时候可以大大减少代码量~~先看个简单Demo class Person{ public string Name{get;set;} public int Age{get;set;} public Person(string names, int iage) { this.Name = names; this.Age = iage; }... 阅读全文
posted @ 2011-08-16 17:13 沐訫 阅读(209) 评论(0) 推荐(0) 编辑