Language Integrated Query in C# 2008

  • Authors
  • Joseph C. RattzJr.

Table of contents

  1. Front Matter
    Pages i-xxii
  2. Pro LINQ: Language Integrated Query in C# 2008

    1. Front Matter
      Pages 1-1
    2. Pages 3-17
  3. LINQ to Objects

    1. Front Matter
      Pages 51-51
    2. Pages 63-131
    3. Pages 133-183
  4. LINQ to XML

    1. Front Matter
      Pages 185-185
    2. Pages 187-192
    3. Pages 193-272
    4. Pages 273-299
  5. LINQ to DataSet

    1. Front Matter
      Pages 337-337
  6. LINQ to SQL

    1. Front Matter
      Pages 379-379
    2. Pages 381-390
    3. Pages 499-555
    4. Pages 557-572
  7. Back Matter
    Pages 585-600

About this book


LINQ is the project name for a set of extensions to the .NET Framework that provide a generic approach to querying data from different data sources. LINQ will premier in Visual Studio 2008, and will become the next must–have skill for .NET developers. For more information about LINQ, you can check out the author's portal at

Pro LINQ: Language Integrated Query in C# 2008 is all about code.

Literally, this book starts with code and ends with code. In most books, the author shows the simplest example demonstrating how to use a method, but they so rarely show how to use the more complex prototypes. Pro LINQ: Language Integrated Query in C# 2008 is different. Demonstrating the overwhelming majority of LINQ operators and protoypes, it is a veritable treasury of LINQ examples.

Rather than obscure the relevant LINQ principles in code examples by focusing on a demonstration application you have no interest in writing, Pro LINQ: Language Integrated Query in C# 2008 cuts right to the chase of each LINQ operator, method, or class. However, where complexity is necessary to truly demonstrate an issue, the examples are right there in the thick of it. For example, code samples demonstrating how to handle concurrency conflicts actually create concurrency conflicts so you can step through the code and see them unfold.

Most books tell you about the simple stuff, while few books warn you of the pitfalls. Where Pro LINQ: Language Integrated Query in C# 2008 returns your investment is in the hours, and sometimes days, spent by the author determining why something may not work as expected. Sometimes this results in an innocent looking paragraph that may take you a minute to read and understand, but took days to research and explain.

Face it, most technical books while informative, are dull. LINQ need not be dull. Written with a sense of humor, Pro LINQ: Language Integrated Query in C# 2008 will attempt to entertain you on your journey through the wonderland of LINQ and C# 2008.


.NET .NET framework C# LINQ SQL XML complexity language

Bibliographic information