using System;
namespace ejersicio
{
public class trabajo
public static int x;
public static int y;
public static int[,] matriz;
public void ingresar()
matriz=new int [3,4];
for(x=0; x<2; x++)
for(y=0; y<2; y++)
Console.WriteLine("Dame un dato");
matriz[x,y]=Convert.ToInt16(Console.ReadLine());
}
Console.WriteLine("la matriz es:"+matriz [x,y]);
public static void Main()
trabajo cd= new trabajo();
cd.ingresar();