Revert "[2018-06] [System]: `MonoTlsStream` is now `IDisposable` and cleans up on...
[mono-project.git] / mono / tests / array-enumerator-ifaces.2.cs
blobb1c7700db56dcc8120aeb4e9cc5ed6a2753a4222
1 using System;
2 using System.Collections.Generic;
4 class Test
6 static void Main()
8 List<string> in1 = new List<string>();
9 in1.Add("A");
10 List<string> in2 = new List<string>();
11 in2.Add("B");
12 SetRequiredInputTypes(new List<string>[] { in1, in2 });
15 static public void SetRequiredInputTypes(IEnumerable<IEnumerable<string>> enum_enum_strings)
17 foreach (IEnumerable<string> enum_strings in enum_enum_strings)
19 foreach (string s in enum_strings)
20 Console.WriteLine(s);