Most of the interviewers ask for how to reverse an array without using Array.Reverse() method. Here’s the simple solution to how to reverse an array in C# without using Array.Reverse() function.

for (int i=0; i<arr.Length / 2; i++)


int temp = arr[i];

arr[i] = arr[arr.Length – i – 1];

arr[arr.Length – i – 1] = temp;


This will reverse the array. If you iterate through the whole array without dividing by 2, then it will be reversed twice. Hope this will work for you to know how to reverse an array in c# without using Array.Reverse().