Function to display placed queen
static void display ( int n ) { breakLine ( ) ; Console . Write ( " Arrangement ▁ No . ▁ " + ++ no ) ; breakLine ( ) ; for ( int i = 1 ; i <= n ; i ++ ) { for ( int j = 1 ; j <= n ; j ++ ) { if ( arr [ i ] != j ) { Console . Write ( " TABSYMBOL _ " ) ; } else { Console . Write ( " TABSYMBOL Q " ) ; } } Console . WriteLine ( " " ) ; } breakLine ( ) ; }