Driver program
public static void Main ( ) { int [ , ] mat = { { 1 , 1 , 0 , 1 } , { 0 , 1 , 1 , 0 } , { 1 , 0 , 0 , 1 } , { 1 , 0 , 1 , 1 } , } ; Console . Write ( MaximumDecimalValue ( mat , 4 ) ) ; } }