public static void Main()
Console.WriteLine("Introduza a dimensões das matrizes");
int n1 = Convert.ToInt16(Console.ReadLine());
int n2 = Convert.ToInt16(Console.ReadLine());
int[,] m1 = new int[n1,n2];
int[,] m2 = new int[n1,n2];
Console.WriteLine("Introduza o nº da 1º matriz" + "[" + (a+1) + ", " + (b+1) + "]");
m1[a,b] = Convert.ToInt16(Console.ReadLine());
Console.WriteLine("Introduza o nº da 2º matriz" + "[" + (a+1) + ", " + (b+1) + "]");
m2[a,b] = Convert.ToInt16(Console.ReadLine());
int[,] m = new int[n1,2];
m[a,b] = m1[a,b] + m2[a,b];
Console.WriteLine("A soma da 1º e 2º matriz é:");
Console.WriteLine("Matriz" + "[" + (a+1) + ", " + (b+1) + "] = " + m[a,b]);