Pure distilled knowledge


C# 3.0 Pocket Reference LINQ Pocket Reference

For busy programmers who want a succinct and yet readable guide to C# 3.0, this book tells you exactly what you need to know, without long introductions or bloated samples.

Despite its conciseness, this book doesn’t skimp on depth or detail and embraces the conceptual challenges in understanding C# 3.0. Tightly focused and highly practical, this book covers more ground than many of the big books on C#.

C# 3.0 Pocket Reference includes plenty of illustrations and code examples to explain:

  • Features new to C# 3.0, such as lambda expressions, anonymous types, automatic properties and more

  • All aspects of C# syntax, predefined types, expressions and operators

  • Creating classes, structs, delegates & events, enums, generics & constraints, exception handling, and iterators

  • The subtleties of boxing, operating overloading, delegate covariance, extension method resolution, interface reimplementation, nullable types and operating lifting

  • The fundamentals of LINQ, starting with the principles of sequences, deferred execution & standard query operators, and finishing with a complete reference to query syntax—including multiple generators, joining, grouping and query continuations

You’ll also find chapters on attributes, unsafe code and pointers, preprocessor directives, XML documentation, and a framework overview. If you already know Java, C++, or an earlier version of C#, this book is ideal. And at $10.19 for 240 pages, this is best value pocket reference ever!

Ready to take advantage of LINQ with C# 3.0, but don't fancy laboring through a 500-page book? Well, learning LINQ doesn't have to be that hard! If you already know C#, this small guide has all that it takes to get you rapidly up to speed.

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 explains:

  • LINQ’s key concepts, such as deferred execution, iterator chaining and type inference in lambda expressions

  • The differences between local and interpreted queries

  • C# 3.0’s query syntax in detail—including multiple generators, joining, grouping, query continuations and more

  • Query syntax vs. lambda syntax, and mixed syntax queries

  • Composition & projection strategies for complex queries

  • All of LINQ’s 40+ query operators

  • How to write efficient LINQ to SQL queries

  • How to build expression trees from scratch

  • All of LINQ to XML’s types, and their advanced use

LINQ promises to be the locus of a thriving ecosystem for many years to come. This small book gives you a huge head start.

Download LINQPad

No other books or online resources can get you up to speed so quickly.

C# 3.0 Pocket Reference (240 pages)
LINQ Pocket Reference (180 pages)

Want both books—plus coverage of the CLR and core framework—in a single volume? Click here.

 

C# 3.0 Pocket Reference & LINQ Pocket Reference by Joseph Albahari & Ben Albahari
© 2007-2008, O'Reilly Media Inc. All rights reserved.