Projection using async delegate/lambda
问题 The following code will not compile against the Async CTP in Visual Studio 2010: Enumerable.Range(1, 5).Select(async x => { await TaskEx.Delay(100); return 5; }); The compilation error is as follows: Test.cs(40,13): error CS1928: 'System.Collections.Generic.IEnumerable<int>' does not contain a definition for 'Select' and the best extension method overload 'System.Linq.Enumerable.Select<TSource,TResult>(System.Collections.Generic.IEnumerable<TSource>, System.Func<TSource,TResult>)' has some