Driver program
static public void Main ( ) { int [ ] arr = { 2 , 0 , 1 , 4 , 5 , 3 } ; int n = arr . Length ; Console . WriteLine ( " Given ▁ array ▁ is ▁ : ▁ " ) ; printArray ( arr , n ) ; rearrange ( arr , n ) ; Console . WriteLine ( " Modified ▁ array ▁ is ▁ : " ) ; printArray ( arr , n ) ; } }