I tried this using VS 2013. I got an exception saying "An unhandled exception of type 'System.OutOfMemoryException' occurred in byteArray.exe" (I used byte instead of int) . .
static void Main(string[] args)
{
byte[,] a = new byte[100000, 100000];
for(int i=0;i<100000;i++)
{
for(int j=0;j<100000; i++)
{
Console.Write(0+" ");
}
}
}
