A utility function to print solution
static void printSolution ( int [ , ] board ) { for ( int i = 0 ; i < N ; i ++ ) { for ( int j = 0 ; j < N ; j ++ ) Console . Write ( " ▁ { 0 } ▁ " , board [ i , j ] ) ; Console . Write ( " STRNEWLINE " ) ; } }