8.2 简化的初始化
摘要:
public class Person{ public int Age { get; set; } public string Name { get; set; } List<Person> friends = new List<Person>(); public List<Person> Friends { get { return friends; } } Location home = new Location(); public Location Home { get { return home; } } public Person() { }... 阅读全文
posted @ 2012-05-29 23:22 xiacy 阅读(184) 评论(0) 推荐(0) 编辑