[2019-12] [threads] Add back mono_threads_attach_tools_thread as a public API (#18074)
[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();