December 24, 2009

LINQ is nice: the same problem solved by different LINQ queries

There is a nice question in our support forum, especially if you started to use LINQ just recently.

I imagined 4 different queries leading to expected result. First 2 of them are almost identical, but others are not. Can you add other queries solving the same problem?