Driver code
public static void Main ( String [ ] args ) { int [ ] arr = new int [ ] { 1 , 2 , 3 , 4 , 5 , 6 } ; int n = arr . Length ; printArray ( arr , n ) ; revereseArray ( arr , n ) ; Console . WriteLine ( " Reversed ▁ array ▁ is " ) ; printArray ( arr , n ) ; } }