public static void Main()
int [] a = new int[5]{67,23,15,68,99};
int [] rvrs = new int[a.Length];
for (int j = 0; j< rvrs.Length; j++)
Console.Write(rvrs[j]+",");
public static int[] Reverse(int[] arr, int[] rvrs)
for (int i = 0; i<arr.Length; i++)
rvrs[arr.Length - i - 1] = arr[i];