摘要: 测试代码private static void Test2(int count){int a = 0, b = 0;string c=string.Empty, d=string.Empty;DateTime dt1 = DateTime.Now;for (int i = 0; i < count; i++){a = (int)SystemUserRole.教师;//Console.WriteLi... 阅读全文
posted @ 2013-05-18 01:05 Adming 阅读(578) 评论(0) 推荐(0) 编辑
摘要: 测试代码private static void Test1(int count){int s;List<int> list = new List<int>();for (int i = 0; i < 10000; i++){list.Add(i);}Console.WriteLine("这是测试for/linq/foreach效率开始");DateTime d1 = DateTime.Now;fo... 阅读全文
posted @ 2013-05-18 00:48 Adming 阅读(750) 评论(0) 推荐(0) 编辑