Driver Code
public static void Main ( String [ ] args ) { int [ ] arr = { 511 , 321 , 323 , 432 , 433 } ; int [ ] res = sortArr ( arr ) ; for ( int i = 0 ; i < res . Length ; i ++ ) Console . Write ( res [ i ] + " ▁ " ) ; } }