摘要: 1、浅拷贝(值类型):public class LightCopy { public int Val { get; set; } public LightCopy(int ival) ... 阅读全文
posted @ 2014-11-25 17:33 慧由心生 阅读(1046) 评论(0) 推荐(0)
摘要: 方法:一、继承既有的接口 如:CollectionBase、DictionaryBaseclass TestForeach: CollectionBase { public void Add(string val) { List.Add(val... 阅读全文
posted @ 2014-11-25 14:32 慧由心生 阅读(2410) 评论(0) 推荐(0)