[build] Fix warning (#4177)
[mono-project.git] / mcs / tests / gtest-linq-21.cs
blob28ae921fe4de96ca5d4ac12fff641d865dce4183
1 using System;
2 using System.Linq;
4 static class Program
6 public static int Main()
8 int i = 0;
9 var input = new int[] { 1 };
10 var input2 = new int[] { 5 };
11 var r =
12 from _ in input
13 from y in input2
14 select (Action)(() => Console.WriteLine("{0} {1} {2}", i, _, y));
16 r.ToList () [0] ();
17 return 0;