2 using System
.Collections
.Generic
;
5 public static void Main()
7 // this form of initialisation causes a crash when I try
8 // to iterate through the items.
9 IEnumerable
<IEnumerable
<string>> table
11 new string[] { "1a", "1b" }
,
12 new string[] { "2a", "2b" }
15 foreach (IEnumerable
<string> row
in table
) {
16 foreach (string cell
in row
) {
17 Console
.Write("{0} ", cell
);