方法一: 借助第二数组
static void Main(string[] args) { int[] x ={ 12,59,2,89,15,48,58,1 }; //借助第二个数组 int[] temp = new int[x.Length]; x.CopyTo(temp,0); for (int i = 0; i < x.Length; i++) { int j = x.Length - i-1; x[i] = temp[j]; } foreach (int n in x) Console.Write(n.ToString() + ","); Console.ReadLine(); }