Code ///<summary> /// 调用 ///</summary> privatevoid button1_Click(object sender, EventArgs e) { List<int> list =new List<int>(); //初始化数据 for (int i =1; i <50; i++) list.Add(i); //重新排序 list = RandomSortList(list); foreach (int i in list) listBox1.Items.Add(i.ToString());//输出排序结果 }
posted on
2009-05-31 15:52jdmei520
阅读(1499)
评论(5)
编辑收藏举报