4 using System
.Collections
.Generic
;
9 public static int Main ()
11 int[] int_array
= new int [] { 0, 1 }
;
17 e
= from int i
in int_array
select i
;
19 foreach (int actual
in e
) {
20 Console
.WriteLine (actual
);
21 if (int_array
[pos
++] != actual
)
25 e
= from int i
in int_array
select 19;
27 foreach (int actual
in e
) {
28 Console
.WriteLine (actual
);
34 e
= from i
in int_array
select i
;
36 foreach (int actual
in e
) {
37 Console
.WriteLine (actual
);
38 if (int_array
[pos
++] != actual
)
42 e
= from i
in int_array
select 19;
44 foreach (int actual
in e
) {
45 Console
.WriteLine (actual
);
50 Console
.WriteLine ("OK");