C# 5.0 in a Nutshell: The Definitive Reference

Front Cover
"O'Reilly Media, Inc.", Jun 19, 2012 - Computers - 1042 pages

When you have a question about C# 5.0 or the .NET CLR, this bestselling guide has precisely the answers you need. Uniquely organized around concepts and use cases, this updated fifth edition features a reorganized section on concurrency, threading, and parallel programming—including in-depth coverage of C# 5.0’s new asynchronous functions.

Shaped by more than 20 expert reviewers, including Microsoft’s Eric Lippert, Stephen Toub, Chris Burrows, and Jon Skeet, this book has all you need to stay on track with C# 5.0. It’s widely known as the definitive reference on the language.

  • Get up to speed on C# language basics, including syntax, types, and variables
  • Explore advanced topics such as unsafe code and type variance
  • Dig deep into LINQ via three chapters dedicated to the topic
  • Learn about code contracts, dynamic programming, and parallel programming
  • Work with .NET features, including reflection, assemblies, memory management, security, I/O, XML, collections, networking, and native interoperability

"C# 5.0 in a Nutshell is one of the few books I keep on my desk as a quick reference."

—Scott Guthrie, Microsoft

"Whether you’re a novice programmer or an expert who wants to improve your knowledge of modern asynchronous programming techniques, this book has the information you need to get the job done in C#."

—Eric Lippert, Microsoft

 

What people are saying - Write a review

LibraryThing Review

User Review  - everfresh1 - LibraryThing

Perfect. As good as any manual/reference could be. Contains everything you need to know about C# 5.0, no more and no less. Read full review

Contents

Chapter 1 Introducing C and the NET Framework
1
Chapter 2 C Language Basics
9
Chapter 3 Creating Types in C
67
Chapter 4 Advanced C
119
Chapter 5 Framework Overview
187
Chapter 6 Framework Fundamentals
201
Chapter 7 Collections
271
Chapter 8 LINQ Queries
319
Chapter 15 Streams and IO
605
Chapter 16 Networking
653
Chapter 17 Serialization
691
Chapter 18 Assemblies
729
Chapter 19 Reflection and Metadata
765
Chapter 20 Dynamic Programming
821
Chapter 21 Security
837
Chapter 22 Advanced Threading
875

Chapter 9 LINQ Operators
375
Chapter 10 LINQ to XML
423
Chapter 11 Other XML Technologies
457
Chapter 12 Disposal and Garbage Collection
485
Chapter 13 Diagnostics and Code Contracts
509
Chapter 14 Concurrency Asynchrony
547
Chapter 23 Parallel Programming
915
Chapter 24 Application Domains
957
Chapter 25 Native and COM Interoperability
971
Chapter 26 Regular Expressions
991
Index
1011
Copyright

Common terms and phrases

About the author (2012)

Joseph Albahari is author of C# 3.0 in a Nutshell, LINQ Pocket Reference, and C# 3.0 Pocket Reference. He has been developing large-scale enterprise applications on .NET and other platforms for more than 15 years, and is author of LINQPad - the popular utility for querying databases in LINQ.



Joseph is currently a freelance consultant.



Joseph's Home Page

Ben Albahari is the founder of Take On It. He was a Program Manager at Microsoft for 5 years, where he worked on several projects, including the .NET Compact Framework and ADO.NET.



He was the cofounder of Genamics, a provider of tools for C# and J++ programmers, as well as software for DNA and protein sequence analysis. He is a co-author of C# Essentials, the first C# book from O'Reilly, and of previous editions of C# in a Nutshell.