Synopses & Reviews
When you need answers for programming with C# 5.0, this practical and tightly focused book tells you exactly what you need to know—without long introductions or bloated samples. Easy to browse, its ideal as quick reference or as a guide to get you rapidly up to speed if you already know Java, C++, or an earlier version of C#.
Written by the authors of C# 5.0 in a Nutshell, this book covers the entire C# 5.0 language, including:
- All of C#s fundamentals
- Advanced topics such as operator overloading, type constraints, covariance & contravariance, iterators, nullable types, operator lifting, lambda expressions & closures
- LINQ, starting with sequences, lazy execution and standard query operators, and finishing with a complete reference to query expressions
- Dynamic binding and C# 5.0s new asynchronous functions
- Unsafe code & pointers, custom attributes, preprocessor directives, and XML documentation
About the Author
Joseph Albahari is a core C# design architect at Egton Medical Information Systems, the largest primary healthcare software supplier in the UK. He has been developing large-scale enterprise applications on .NET and other platforms for more than 15 years, working in medical, telecommunication and education industries. Joseph specializes in writing custom components and controls, and has designed application component frameworks for three companies.
Ben Albahari is currently involved in the bioinformatics business. 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.
Table of Contents
Chapter 1: C# 5.0 Pocket Reference; 1.1 Conventions Used in This Book; 1.2 Using Code Examples; 1.3 Safari® Books Online; 1.4 How to Contact Us; 1.5 A First C# Program; 1.6 Syntax; 1.7 Type Basics; 1.8 Numeric Types; 1.9 Boolean Type and Operators; 1.10 Strings and Characters; 1.11 Arrays; 1.12 Variables and Parameters; 1.13 Expressions and Operators; 1.14 Statements; 1.15 Namespaces; 1.16 Classes; 1.17 Inheritance; 1.18 The object Type; 1.19 Structs; 1.20 Access Modifiers; 1.21 Interfaces; 1.22 Enums; 1.23 Nested Types; 1.24 Generics; 1.25 Delegates; 1.26 Events; 1.27 Lambda Expressions; 1.28 Anonymous Methods; 1.29 try Statements and Exceptions; 1.30 Enumeration and Iterators; 1.31 Nullable Types; 1.32 Operator Overloading; 1.33 Extension Methods; 1.34 Anonymous Types; 1.35 LINQ; 1.36 Dynamic Binding; 1.37 Attributes; 1.38 Caller Info Attributes (C# 5.0); 1.39 Asynchronous Functions (C# 5.0); 1.40 Unsafe Code and Pointers; 1.41 Preprocessor Directives; 1.42 XML Documentation;