摘要: namespace ArrSort{ class Program { public void Sort() { // 获得数组 int n; Console.WriteLine("请你输入数组的长度:\n"); n=Convert.ToInt32(Console.ReadLine()); int[] arr = new int[n]; for (int i = 0; i < n; i++) { Console.WriteLine("请你输入第{0}个元素:",i); arr[i] = Convert.ToInt32(Console.ReadLine 阅读全文
posted @ 2012-04-12 21:26 L12619 阅读(120) 评论(0) 推荐(0) 编辑