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 阅读(190) 评论(0) 推荐(0)
浙公网安备 33010602011771号