C# 12 in a Nutshell /
Uloženo v:
Hlavní autor: | |
---|---|
Typ dokumentu: | Kniha |
Jazyk: | Angličtina |
Vydáno: |
Sebastopol, CA :
O'Reilly Media, Inc,
2023.
|
Témata: | |
On-line přístup: | Elektronická verze přístupná pouze pro studenty a pracovníky MU |
Příbuzné jednotky: | Tištěná verze::
C# 12 in a Nutshell |
Obsah:
- Cover
- Copyright
- Table of Contents
- Preface
- Intended Audience
- How This Book Is Organized
- What You Need to Use This Book
- Conventions Used in This Book
- Using Code Examples
- How to Contact Us
- Acknowledgments
- Joseph Albahari
- Chapter 1. Introducing C# and .NET
- Object Orientation
- Type Safety
- Memory Management
- Platform Support
- CLRs, BCLs, and Runtimes
- Common Language Runtime
- Base Class Library
- Runtimes
- Niche Runtimes
- A Brief History of C#
- What's New in C# 12
- What's New in C# 11
- What's New in C# 10
- What's New in C# 9.0
- What's New in C# 8.0
- What's New in C# 7.x
- What's New in C# 6.0
- What's New in C# 5.0
- What's New in C# 4.0
- What's New in C# 3.0
- What's New in C# 2.0
- Chapter 2. C# Language Basics
- A First C# Program
- Compilation
- Syntax
- Identifiers and Keywords
- Literals, Punctuators, and Operators
- Comments
- Type Basics
- Predefined Type Examples
- Custom Types
- Types and Conversions
- Value Types Versus Reference Types
- Predefined Type Taxonomy
- Numeric Types
- Numeric Literals
- Numeric Conversions
- Arithmetic Operators
- Increment and Decrement Operators
- Specialized Operations on Integral Types
- 8- and 16-Bit Integral Types
- Special Float and Double Values
- double Versus decimal
- Real Number Rounding Errors
- Boolean Type and Operators
- bool Conversions
- Equality and Comparison Operators
- Conditional Operators
- Strings and Characters
- Char Conversions
- String Type
- UTF-8 Strings
- Arrays
- Default Element Initialization
- Indices and Ranges
- Multidimensional Arrays
- Simplified Array Initialization Expressions
- Bounds Checking
- Variables and Parameters
- The Stack and the Heap
- Definite Assignment
- Default Values
- Parameters
- Ref Locals
- Ref Returns
- var-Implicitly Typed Local Variables
- Target-Typed new Expressions
- Expressions and Operators
- Primary Expressions
- Void Expressions
- Assignment Expressions
- Operator Precedence and Associativity
- Operator Table
- Null Operators
- Null-Coalescing Operator
- Null-Coalescing Assignment Operator
- Null-Conditional Operator
- Statements
- Declaration Statements
- Expression Statements
- Selection Statements
- Iteration Statements
- Jump Statements
- Miscellaneous Statements
- Namespaces
- File-Scoped Namespaces
- The using Directive
- The global using Directive
- using static
- Rules Within a Namespace
- Aliasing Types and Namespaces
- Advanced Namespace Features
- Chapter 3. Creating Types in C#
- Classes
- Fields
- Constants
- Methods
- Instance Constructors
- Deconstructors
- Object Initializers
- The this Reference
- Properties
- Indexers
- Primary Constructors (C# 12)
- Static Constructors
- Static Classes
- Finalizers
- Partial Types and Methods
- The nameof operator
- Inheritance
- Polymorphism
- Casting and Reference Conversions
- Virtual Function Members