Driver Code
public static void Main ( String [ ] args ) { int [ , ] mat = { { 1 , 1 , 2 } , { 3 , 4 , 6 } , { 5 , 3 , 2 } } ; Cell [ ] arr = { new Cell ( 0 , 0 ) , new Cell ( 1 , 1 ) , new Cell ( 0 , 1 ) } ; int n = arr . Length ; printSums ( mat , arr , n ) ; } }