摘要:
测试代码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... 阅读全文
摘要:
测试代码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... 阅读全文