C# 3.0 in a Nutshell, Third Edition: A Desktop Quick Reference

By Joseph Albahari, Ben Albahari
O'Reilly Media
Release Date: September 2007
Pages: 864

This is a concise yet thorough reference to C# 3.0 programming as implemented in Microsoft's Visual Studio 2008. C# 3.0 in a Nutshell gets right to the point, covering the essentials of language syntax and usage as well as the parts of the .NET base class libraries you need to build working applications. But unlike earlier editions, this book is now organized entirely around concepts and use cases, providing greater depth and readability.

C# 3.0 introduces the most significant enhancements yet to the programming language, and C# 3.0 in a Nutshell delves deep into the subject while assuming minimal prior knowledge of C#-making it accessible to anyone with a reasonable background in programming. In addition to the language, the book covers the .NET CLR and the core Framework assemblies, along with the unified querying syntax called Language Integrated Query (LINQ), which bridges the traditional divide between programs and their data sources.

Free of clutter and long introductions, this book provides a map of C# 3.0 knowledge in a succinct and unified style:

  • Opening chapters concentrate purely on C#, starting with the basics of syntax, types and variables, and finishing with advanced topics such as unsafe code and preprocessor directives
  • Later chapters cover the core .NET 3.5 Framework, including such topics as LINQ, XML, collections, I/O and networking, memory management, reflection, attributes, security, threading, application domains and native interoperability

Designed as a handbook for daily use, C# 3.0 in a Nutshell is an ideal companion to any of the vast array of books that focus on an applied technology such as WPF, ASP.NET, or WCF. The areas of the language and .NET Framework that such books omit, this one covers in detail.

Full List of Chapters:

  • Chapter 1. Introducing C# and the .NET Framework
  • Chapter 2. C# Language Basics
  • Chapter 3. Creating Types in C#
  • Chapter 4. Advanced C# - Available Online
  • Chapter 5. Framework Overview
  • Chapter 6. Framework Fundamentals
  • Chapter 7. Collections
  • Chapter 8. LINQ Queries
  • Chapter 9. LINQ Operators
  • Chapter 10. LINQ to XML
  • Chapter 11. Other XML Technologies
  • Chapter 12. Disposal and Garbage Collection
  • Chapter 13. Streams and I/O
  • Chapter 14. Networking - Available Online
  • Chapter 15. Serialization
  • Chapter 16. Assemblies
  • Chapter 17. Reflection and Metadata
  • Chapter 18. Security
  • Chapter 19. Threading - Available Online
  • Chapter 20. Asynchronous Methods - Available Online
  • Chapter 21. Application Domains
  • Chapter 22. Integrating with Native DLLs
  • Chapter 23. Diagnostics - Available Online
  • Chapter 24. Regular Expressions