Driver Code
public static void Main ( string [ ] args ) { int [ ] [ ] mat = new int [ ] [ ] { new int [ ] { 1 , 2 , 9 } , new int [ ] { 5 , 3 , 8 } , new int [ ] { 4 , 6 , 7 } } ; Console . WriteLine ( " Length ▁ of ▁ the ▁ longest ▁ path ▁ is ▁ " + finLongestOverAll ( mat ) ) ; } }