Cover by Jim Wooley, Steve Eichert, Fabrice Marguerie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Chapter 4. Getting familiar with LINQ to Objects

This chapter covers:

  • The LinqBooks running example
  • Querying collections
  • Using LINQ with ASP.NET and Windows Forms
  • Major standard query operators

In chapter 1 we introduced LINQ, and in chapters 2 and 3 we described new language features and LINQ concepts. We’ll now sample each LINQ flavor in turn. This part focuses on LINQ to Objects. We’ll cover LINQ to SQL in part 3, and LINQ to XML in part 4.

The code samples you’ll encounter in the rest of this book are based on a running example: a book cataloging system. This chapter starts with a description of this example application, its database schema, and its object model.

We’ll use this sample application immediately as a base for discovering ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required