摘要: 1:冒泡排序代码static void Main(string[] args) { ////五次比较for (int i = 1; i <= 5; i++) { List<int> list = new List<int>(); //插入2k个随机数到数组中 for (int j = 0; j < 2000; j++) { Thread.Sleep(1); list.Add(new Random((int)DateTime.Now.Ticks).Next(0, 100000)); } Console.WriteLine("\n第" + i 阅读全文
posted @ 2012-06-11 22:07 zhangchun 阅读(1199) 评论(0) 推荐(0) 编辑