Driver code
public static void Main ( string [ ] args ) { int R = 4 ; int C = 4 ; int [ ] [ ] A = new int [ ] [ ] { new int [ ] { 0 , 1 , 1 , 0 } , new int [ ] { 1 , 1 , 1 , 1 } , new int [ ] { 1 , 1 , 1 , 1 } , new int [ ] { 1 , 1 , 0 , 0 } } ; Console . Write ( " Area ▁ of ▁ maximum ▁ rectangle ▁ is ▁ " + maxRectangle ( R , C , A ) ) ; } }