Book description
When you're programming C# 4.0 and need a little help, this tightly focused and practical book tells you exactly what you need to know -- without long introductions or bloated examples. It's ideal as a succinct 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 the acclaimed C# 4.0 in a Nutshell (O’Reilly), this book covers the entire C# 4.0 language -- without skimping on the details -- including:
- Features new to C# 4.0, such as dynamic binding, optional and named parameters, and type parameter variance
- All of C#'s fundamentals
- Advanced topics, including operator overloading, custom conversions, type constraints, covariance and contravariance, lambda expressions and closures, iterators, nullable types, and operator lifting
- LINQ, starting with sequences, lazy execution, and standard query operators; finishing with a complete reference to query expressions
- Unsafe code and pointers, custom attributes, preprocessor directives, and XML documentation
Publisher resources
Table of contents
- C# 4.0 Pocket Reference
-
1. C# 4.0 Pocket Reference
- Using Code Examples
- How to Contact Us
- Safari® Books Online
- A First C# Program
- Syntax
- Type Basics
- Numeric Types
- Boolean Type and Operators
- Strings and Characters
- Arrays
- Variables and Parameters
- Expressions and Operators
- Statements
- Namespaces
- Classes
- Inheritance
- The object Type
- Structs
- Access Modifiers
- Interfaces
- Enums
- Nested Types
- Generics
- Delegates
- Events
- Lambda Expressions
- Anonymous Methods
- try Statements and Exceptions
- Enumeration and Iterators
- Nullable Types
- Operator Overloading
- Extension Methods
- Anonymous Types
- LINQ
- Dynamic Binding (C# 4.0)
- Attributes
- Unsafe Code and Pointers
- Preprocessor Directives
- XML Documentation
- Index
- About the Authors
- Copyright
Product information
- Title: C# 4.0 Pocket Reference, 3rd Edition
- Author(s):
- Release date: August 2010
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449394011
You might also like
book
C# 3.0 Pocket Reference, 2nd Edition
This book is for busy programmers who want a succinct and yet readable guide to C# …
book
Essential C# 3.0: For .NET Framework 3.5
is an extremely well-written and well-organized “no-fluff” guide to C# 3.0, which will appeal to programmers …
book
Essential C# 6.0
“ Welcome to one of the greatest collaborations you could dream of in the world of …
book
C# 5.0 Pocket Reference
When you need answers for programming with C# 5.0, this practical and tightly focused book tells …