摘要: /// <summary> /// 自定义List /// </summary> /// <typeparam name="T">列表中元素的类型</typeparam> class MyList<T> : IEnumerable { T[] t = new T[0]; public MyList() { } public MyList(int capacity) { this.Capacity = capacity; } int count = 0; /// <summary> /// MyList& 阅读全文
posted @ 2011-07-28 20:06 贺俊峰 阅读(563) 评论(0) 推荐(0) 编辑