摘要: .net的集合类型都是基于 ICollection 接口、IList 接口、IDictionary 接口,或其泛型集合中的相应接口。IList 接口和 IDictionary 接口都是从 ICollection 接口派生的;因此,所有集合都直接或间接基于 ICollection 接口。在基于 IList 接口的集合中(如 Array、ArrayList 或 List<T>)或直接基于 ICollection 接口的集合中(如 Queue、Stack 或 LinkedList<T>),每个元素都只包含一个值。在基于 IDictionary 接口的集合中(如 Hashtab 阅读全文
posted @ 2011-05-09 17:52 雁北飞 阅读(469) 评论(0) 推荐(0) 编辑