Fabrice's weblog

Tools and Source

News


Read sample chapters or buy LINQ in Action now!
Our LINQ book is also available on AMAZON

.NET jobs

Emplois .NET

The views expressed on this weblog are mine alone and do not necessarily reflect the views of my employer. The content of this weblog is independent from Microsoft or any other company. transatlantys hot news

Contact

Me

Others

Selected content

7 tricks to simplify your programs with LINQ

Despite what a lot of people still believe, LINQ is not all about SQL and databases. I guess it will take time before everybody gets used to it.

With his 7 tricks to simplify your programs with LINQ, Igor Ostrovsky provides great examples of small but elegant uses of LINQ (to Objects). In his post, you'll discover how to use LINQ to:

  • Initialize an array
  • Iterate over multiple arrays in a single loop
  • Generate a random sequence
  • Generate a string
  • Convert sequences or collections
  • Convert a value to a sequence of length 1
  • Iterate over all subsets of a sequence

I believe that there are many ways to use LINQ in your everyday coding sessions that are still to be discovered :-)


Cross-posted from http://linqinaction.net

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)