C# Query Expressions and 3.0 Features (Book Preview)

by Troy Sabin 1. April 2008 19:27

Bruce Eckel and coauthor Jaime King have posted a sample of their upcoming book: C# Query Expressions and 3.0 Features

From the authors:

It's become more common for authors to offer a few pages or sometimes a chapter of their text to the public as a means of marketing. Our aim is to not only provide a sample, but also a useful stand-alone text. By itself, this sample provides any C# 2.0 programmer a foundation in C# 3.0.

This is intended to be a useful mini-book on its own, not just a teaser: it's 239 pages long and includes 82 exercises and solutions. The full book is filled with many more exercises and solutions.

The book covers:

  • Extension methods
    • Inheritance vs. extension methods
    • Utilities for this book
    • Extended delegates
    • Other rules
  • Implicitly-typed local variables
  • Automatic properties
  • Implicitly-typed arrays......
  • Object initializers
  • Collection initializers
  • Anonymous types
  • Lambda expressions
    • Func
  • Query Expressions
  • Basic LINQ
  • Translation
    • Degeneracy
    • Chained where clauses
  • Introduction to Deferred Execution
  • Multiple froms
  • Transparent identifiers
    • Iteration Variable Scope
  • More complex data
  • let clauses
  • Ordering data
  • Grouping data
  • Joining data
  • Nested Queries
    • into
    • let clause translations
    • let vs. into
    • joining into
    • Outer joins
  • Other query operators

Download the sample here.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

References / Resources

Comments are closed