With LINQ, a lot of programming problems can be solved more easily - and in fewer lines of code.

What are some the best real-world LINQ-to-Objects queries that you've written?

(Best = simplicity & elegance compared to the C# 2.0 / imperative approach).

Edit
Report