[mono-api-info] Use XmlWriter instead of XmlDocument to make this faster.
[mono-project.git] / mono / tests / anonarray.2.cs
blobe1ce40f051db80d216b47495f818190b53c4226e
1 using System;
2 using System.Collections.Generic;
4 class Program {
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
10 = new string[][] {
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);
19 Console.WriteLine();