摘要:
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 阅读全文