Ready to take advantage of LINQ with C# 3.0? This guide has the detail you need to grasp Microsoft's new querying technology, and concise explanations to help you learn it quickly. And once you begin to apply LINQ, the book serves as an on-the-job reference when you need immediate reminders.
All the examples in the LINQ Pocket Reference are preloaded into LINQPad, the highly praised utility that lets you work with LINQ interactively. Created by the authors and free to download, LINQPad will not only help you learn LINQ, it will have you thinking in LINQ.
This reference
LINQ promises to be the locus of a thriving ecosystem for many years to come. This small book gives you a huge head start.
"The authors built a tool (LINQPad) that lets you experiment with LINQ interactively in a way that the designers of LINQ themselves don't support, and the tool has all kinds of wonderful features that LINQ, SQL and Regular Expression programmers alike will want to use regularly long after they've read the book." -Chris Sells, Connected Systems Program Manager, Microsoft
This book explains all basics of LINQ usage and shows some tricks which can help you to improve your queries. Authors made interesting comparison between "lambda" syntax of LINQ queries and "human readable" syntax and you can see advantages of both.
I work as a software engineer on a large .NET code base. I recently stumbled upon a problem wherein some of the database queries (entity framework core -> DB2 interaction) were performing poorly. In order to research more on how LINQ -> SQL works, I picked up this book. As the title suggests, it's a small book, and so I got motivated to go through it over the weekend and see if I find a solution. And boy what a great choice I made!
I would like to thank the authors for putting everything important about the LINQ world in this book. The language of this book is simple and anyone with basic C# knowledge can go through the book really fast. The book starts with the basics of LINQ, how deferred execution works, what are the LINQ operators, IEnumerable vs IQueryable, and then moves on to specialized topics like LINQ to SQL, query operators, and LINQ queries for XML objects (XDocuments). I was able to find the solution to the problem I was facing in my code by reading about expression trees and how LINQ converts code to SQL queries.
I would highly recommend this book to anyone who wants to learn LINQ and not be intimidated by the huge amount of documentation out on the web for this!