linux-packaging-mono/mcs/tests/gtest-linq-21.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

21 lines
324 B
C#

using System;
using System.Linq;
static class Program
{
public static int Main()
{
int i = 0;
var input = new int[] { 1 };
var input2 = new int[] { 5 };
var r =
from _ in input
from y in input2
select (Action)(() => Console.WriteLine("{0} {1} {2}", i, _, y));
r.ToList () [0] ();
return 0;
}
}