tags:

views:

185

answers:

7

I have read my first book on c# and feel completely clueless about LINQ. Please suggest reader-friendly linq material.

Thanks

+1  A: 

LINQ in Action has been recommnded to me by several people.

Steve Haigh
+2  A: 

Download LINQPad and play with it. It comes with many free samples.

zvolkov
A: 

I highly recommend Jon Skeet's "C# In Depth". He walks you through the updates .net 2 and 3 which you need to understand to fully appreciate what's going on with Linq. You may also have seen his name around here :)

Rob Scott
Jon's book is great, but I think he deferes to "LINQ in Action" for more details on LINQ.
Steve Haigh
I defer to LINQ in Action when it comes to details for LINQ to SQL and similar providers. I think I give a fairly good description of the translation of query expressions to "normal" code, and the LINQ to Objects operators.
Jon Skeet
I found that once I had understood the material in Jon's book the "Link In Action" book was a very quick read -- more of reference than anything else. Jon's book had explained the magic. :)
Rob Scott
+1  A: 

Microsoft created LINQ. So why not start with the Microsoft documentation about it?

Promit
+1  A: 

As a reference guide Pro Linq is IMO the best one.

Once you are more experienced and want to know more of the internals Programming Linq is the book you want.

Also there are some great blogs out there, Matt Warrens, and Bart De Smets are wonderfull resources for advanced Linq topics.

But the absolute best place to start as a beginner is the 101 linq samples site, and actually try them out.

Tim Jarvis
+1  A: 

Charlie Calvert from Microsoft wrote a great blog post here which gives you a good insight into coding with LINQ.

I hope that helps.

Ian.

Ian Roke
+1 thanks for the linq (groan)
Dead account
A: 

And I didn't really use this tastes-like-SQL(tm) syntax and use good old mix of methods and lambdas like

list.Where(n => n.Something == searchingFor)
    .Select(n => new { Whatever.... })
    .OrderBy(xxx)

Works the same, uses same features, but look less ackward to me. And for the guide I use Intellisense.

Migol