A utility function to print an array of size n
static void printArray ( int [ ] arr , int n ) { for ( int i = 0 ; i < n ; i ++ ) { Console . Write ( " { 0 } ▁ " , arr [ i ] ) ; } Console . Write ( " STRNEWLINE " ) ; }