Book description
When you need answers for programming with C# 7.0, this tightly focused reference tells you exactly what you need to know—without long introductions or bloated examples. Easy-to-browse and ideal as a quick reference, this guide will help experienced C#, Java, and C++ programmers get up to speed with the latest version of the C# language.
All programs and code snippets in this book are available as interactive samples in LINQPad. You can edit these samples and instantly see the results without needing to set up projects in Visual Studio. Written by the authors of C# 7.0 in a Nutshell, this pocket reference covers C# 7.0 without skimping on detail, including:
- All of C#’s fundamentals
- Features new to C# 7.0, including tuples, pattern matching, and deconstructors
- Advanced topics: operator overloading, type constraints, iterators, nullable types, operator lifting, lambda expressions, and closures
- LINQ: sequences, lazy execution, standard query operators, and query expressions
- Unsafe code and pointers, custom attributes, preprocessor directives, and XML documentation
Publisher resources
Table of contents
- Conventions Used in This Book
- Using Code Examples
- O’Reilly Safari
- How to Contact Us
- A First C# Program
- Syntax
- Type Basics
- Numeric Types
- Boolean Type and Operators
- Strings and Characters
- Arrays
- Variables and Parameters
- Expressions and Operators
- Null 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
- Extension Methods
- Anonymous Types
- Tuples (C# 7)
- LINQ
- Dynamic Binding
- Operator Overloading
- Attributes
- Caller Info Attributes
- Asynchronous Functions
- Unsafe Code and Pointers
- Preprocessor Directives
- XML Documentation
- Index
Product information
- Title: C# 7.0 Pocket Reference
- Author(s):
- Release date: July 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491988534
You might also like
book
C# Quick Syntax Reference
The C# Quick Syntax Reference is a condensed code and syntax reference to the C# programming …
book
C# 9.0 Pocket Reference
Looking for quick answers for using C# 9.0? This tightly focused and practical guide tells you …
book
Essential C# 6.0
“ Welcome to one of the greatest collaborations you could dream of in the world of …
book
C# 8 Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library
This quick C# 8 guide is a condensed code and syntax reference to the C# programming …