2 using System
.Collections
.Generic
;
7 public static IEnumerable
<T
> Select
<T
> (this Array This
, Func
<object, T
> transform
)
9 foreach (var item
in This
) {
10 yield return transform (item
);
14 public static void Main ()
16 Type type
= typeof (int);
17 IEnumerable
<string> properties
= new[] { "x" }
;
19 var checkIncludeExists
= from n
in properties
20 let p
= type
.GetProperty (n
)
24 foreach (var item
in checkIncludeExists
) {