摘要: 我们先来看一个最为常见的泛型类型List的定义(真正的定义比这个要复杂的多,我这里删掉了很多东西)[Serializable]public class List : IList, ICollection, IEnumerable{ public T this[int index] { get; set; } public void Add(T item); public void Clear(); public bool Contains(T item); public int IndexOf(T item); public bool Remove(T it... 阅读全文
posted @ 2013-05-02 11:27 洗碗心得 阅读(216) 评论(0) 推荐(0)