Book description
When you need answers about using C# 8.0, this tightly focused and practical book tells you exactly what you need to know without long intros or bloated samples. Easy to browse, C# 8.0 Pocket Reference is ideal as a quick source of information or as a guide to get you rapidly up to speed if you already know Java, C++, or an earlier C# version.
All programs and code snippets 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 author of C# 7.0 in a Nutshell, this pocket reference covers C# 8.0 without skimping on detail, including:
- C# fundamentals and features new to C# 8.0
- Advanced topics like 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
- 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 (Value) Types
- Nullable Reference Types (C# 8)
- Extension Methods
- Anonymous Types
- Tuples
- LINQ
- Dynamic Binding
- Operator Overloading
- Attributes
- Caller Info Attributes
- Asynchronous Functions
- Unsafe Code and Pointers
- Preprocessor Directives
- XML Documentation
- Index
Product information
- Title: C# 8.0 Pocket Reference
- Author(s):
- Release date: November 2019
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492051213
You might also like
book
C# 9.0 Pocket Reference
Looking for quick answers for using C# 9.0? This tightly focused and practical guide tells you …
book
C# 10 Pocket Reference
Looking for quick answers for using C# 10? This tightly focused and practical guide tells you …
book
LINQ Pocket Reference
Ready to take advantage of LINQ with C# 3.0? This guide has the detail you need …
book
Pro C# 7: With .NET and .NET Core
This essential classic title provides a comprehensive foundation in the C# programming language and the frameworks …