using System;
class Program
{
static void Main() {
int [,] array2d = new int [4, 3] { { 4, 6, 7},
{ 0, 1, 3},
{ 9, 12, 18},
{ 69, 32, 98} };
Console.WriteLine(array2d.GetLength(0));
Console.WriteLine(array2d.GetLength(1));
for (int i = 0; i < array2d.GetLength(0); i++) {
for (int j = 0; j < array2d.GetLength(1); j++) {
Console.Write("{0} ", array2d[i, j]);
}
Console.WriteLine();
}
}
}
/*
run:
4
3
4 6 7
0 1 3
9 12 18
69 32 98
*/