Book description
Looking for quick answers for using C# 12? This tightly focused and practical guide tells you exactly what you need to know without long intros or bloated samples. Succinct and easy to browse, this pocket reference is an ideal quick source of information. If you know Java, C++, or an earlier C# version, this guide will help you get rapidly up to speed.
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.
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
- Extension Methods
- Anonymous Types
- Tuples
- Records
- Patterns
- LINQ
- Dynamic Binding
- Operator Overloading
- Attributes
- Caller Info Attributes
- Asynchronous Functions
- Static Polymorphism
- Unsafe Code and Pointers
- Preprocessor Directives
- XML Documentation
- Index
- About the Authors
Product information
- Title: C# 12 Pocket Reference
- Author(s):
- Release date: November 2023
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098147549
You might also like
book
Programming C# 12.0
C# is undeniably one of the most versatile programming languages available to engineers today. With this …
book
C# 10 Pocket Reference
Looking for quick answers for using C# 10? This tightly focused and practical guide tells you …
book
C# 12 in a Nutshell
When you have questions about C# 12 or .NET 8, this best-selling guide has the answers …
book
The C# Type System
The type system is the foundation upon which all C# programs are built. The C# Type …