C# Query Expressions and 3.0 Features (Book Preview)
April 2nd, 2008 by Raymond VelezBruce Eckel and coauthor Jaime King have posted a sample of their upcoming book: C# Query Expressions and 3.0 Features
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.

Del.icio.us
Digg
Technorati
Furl
reddit