Driver Code
public static void Main ( ) { char [ , ] mat = { { '0' , '1' , '0' , '1' } , { '1' , '0' , '1' , '1' } , { '0' , '1' , '1' , '1' } , { '1' , '1' , '1' , '0' } } ; ROW = mat . GetLength ( 0 ) ; COL = mat . GetLength ( 0 ) ; Point src = newPoint ( 0 , 3 ) ; Point dest = newPoint ( 3 , 0 ) ; pathMoves ( mat , src , dest ) ; } }