Print value at ( x , y )
Console . Write ( " value ▁ at ▁ ( { 0 } , ▁ { 1 } ) ▁ = ▁ { 2 } STRNEWLINE " , x , y , rows [ x - 1 ] * n + cols [ y - 1 ] + 1 ) ; break ; } return ; } static int [ ] swap ( int [ ] arr , int i , int j ) { int temp = arr [ i ] ; arr [ i ] = arr [ j ] ; arr [ j ] = temp ; return arr ; }