1 const int[,] FOO
= { { 1, 2 }, { 3, 4 }, { 5, 6 }, { 6, 7, 8 }, { 9 }};
2 const string[,] BAR
= { { "a", "b" }, { "c", "d" }, { "e", "f" }, { "g", "h", "i" }, { "j" }};
5 assert (FOO
.length
[0] == 5);
6 assert (FOO
.length
[1] == 3);
7 assert (FOO
[0,1] == 2);
8 assert (FOO
[3,2] == 8);
11 assert (foo
.length
[0] == 5);
12 assert (foo
.length
[1] == 3);
13 assert (foo
[0,1] == 2);
14 assert (foo
[3,2] == 8);
16 assert (BAR
.length
[0] == 5);
17 assert (BAR
.length
[1] == 3);
18 assert (BAR
[0,1] == "b");
19 assert (BAR
[3,2] == "i");
22 assert (bar
.length
[0] == 5);
23 assert (bar
.length
[1] == 3);
24 assert (bar
[0,1] == "b");
25 assert (bar
[3,2] == "i");