1 // CS1940: Ambiguous implementation of the query pattern `Select' for source type `string[]'
5 using System
.Collections
.Generic
;
9 public static void Main ()
11 var q
= from x
in new [] { "a", "b", "c" }
select x
;
17 public static IEnumerable
<TResult
> Select
<TSource
, TResult
>(this IEnumerable
<TSource
> source
, Func
<TSource
, TResult
> selector
)
25 public static IEnumerable
<TResult
> Select
<TSource
, TResult
>(this IEnumerable
<TSource
> source
, Func
<TSource
, TResult
> selector
)