using
System;
class Matrix
... {
static void Main()
...{
int[,] arr = new int[4, 6];
for (int i = 0; i < 4; i++)
...{
for (int j = 0; j < 6; j++)
...{
arr[i, j] = (i + 1) * 10 + j + 1;
}
}
for (int i=0;i<4;i++)
...{
for(int j=0;j<6;j++)
...{
Console.Write("{0} ",arr[i,j]);
}
Console.WriteLine();
}
}
}
class Matrix
... {
static void Main()
...{
int[,] arr = new int[4, 6];
for (int i = 0; i < 4; i++)
...{
for (int j = 0; j < 6; j++)
...{
arr[i, j] = (i + 1) * 10 + j + 1;
}
}
for (int i=0;i<4;i++)
...{
for(int j=0;j<6;j++)
...{
Console.Write("{0} ",arr[i,j]);
}
Console.WriteLine();
}
}
}