2015年11月17日
摘要: static void Main(string[] args) { RArray arr = new RArray(10); Random r = new Random(100); for (int i = 0; i ... 阅读全文
posted @ 2015-11-17 14:06 巴夫巴夫 阅读(127) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { RArray arr = new RArray(10); Random r = new Random(100); for (int i ... 阅读全文
posted @ 2015-11-17 13:34 巴夫巴夫 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 1.准备一个RArray数组操作类: public class RArray { private int ElementNums; private int[] arr; public int upper; public RArray... 阅读全文
posted @ 2015-11-17 12:15 巴夫巴夫 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 自定义Collection类最快的一种方式:继承CollectionBase抽象类 CollectionBase类提供了一套可以实现构造自身群集的抽象方法集合。 CollectionBase 类还提供了一种基础的数据结构——InnerList(一个 ArrayList) 。此结构可以用作自身类的... 阅读全文
posted @ 2015-11-17 11:05 巴夫巴夫 阅读(256) 评论(0) 推荐(0) 编辑