2 ms·
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.
by bunderbunder 14y ago
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.
[1]:http://stackoverflow.com/questions/1092687/code-equivalent-to-the-let-keyword-in-chained-linq-extension-method-calls http://stackoverflow.com/questions/1092687/code-equivalent-t...