Re:Best Practices for Linq Enumerables and Queryables
by bunderbunder on Friday August 24, 2012 @11:48AM
(#4428127)
Regarding point 1, I would add there are also things that can be done using the query syntax that simply can't with the extension methods.
Quite the opposite. Everything in the query syntax gets translated into method calls, even if the way in which it is done so is sometimes non-obvious.[1] However, there are a lot of extension methods that don't have an equivalent in the query syntax - many of the aggregation functions, for example.
Quite the opposite. Everything in the query syntax gets translated into method calls, even if the way in which it is done so is sometimes non-obvious.[1] However, there are a lot of extension methods that don't have an equivalent in the query syntax - many of the aggregation functions, for example.
[1]:http://stackoverflow.com/questions/1092687/code-equivalent-t...