Dubit interview question

Algorithm for reversing an array in C#