1 // CS1061: Type `int' does not contain a definition for `Value' and no extension method `Value' of type `int' could be found (are you missing a using directive or an assembly reference?)
5 using System
.Collections
.Generic
;
12 public static IEnumerable
<TR
> Foo
<T
, TR
> (this IEnumerable
<T
> t
, Func
<T
, TR
> f
)
20 public static void Main ()
24 var prods
= from pe
in i
.Foo (p9
=> p
.Value
) select pe
;