4 using System
.Collections
.Generic
;
9 public static int Main ()
11 int[] a1
= new int [] { 0, 1 }
;
12 string[] a2
= new string [] { "10", "11" }
;
17 var e
= from int i1
in a1
19 select new { i1, i2 }
;
21 foreach (var item
in e
) {
22 Console
.WriteLine (item
);
24 if (item
.i1
!= id
/ 2)
34 var e2
= from int i1
in a1
39 select new { pp = 9, i1, i3 }
;
42 foreach (var item
in e2
) {
43 Console
.WriteLine (item
);
48 if (id
/ 2 != item
.i3
)
54 var e3
= from i1
in a1
56 select new { i1, i2 }
;
59 foreach (var item
in e3
) {
60 Console
.WriteLine (item
);
62 if (item
.i1
!= id
/ 2)
72 Console
.WriteLine ("OK");