Coolest C# LINQ/Lambdas trick you've ever pulled?

Posted by chakrit on Stack Overflow See other posts from Stack Overflow or by chakrit
Published on 2008-08-26T19:00:22Z Indexed on 2010/04/28 4:53 UTC
Read the original article Hit count: 276

Saw a post about hidden features in C# but not a lot of people have written linq/lambdas example so... I wonder...

What's the coolest (as in the most elegant) use of the C# LINQ and/or Lambdas/anonymous delegates you have ever saw/written?

Bonus if it has went into production too!

© Stack Overflow or respective owner

Related posts about c#

Related posts about subjective