LINQ Lambda-Expression Diff
It's probably very simple, I'm just on the fence today.
The Lambda version works as expected the Expression version does not. Do you see where the difference is?
Works:
Does not work (different results):
3 Replies
Why would you use the query expression in the first place...?
Well anyway
Doesn't your IDE offer to convert the call chain to a query expression on Ctrl + .?
readability? why wouldn't you use it?
nope
May god have mercy on your soul if you think that's more readable