Essential C# 12.0

Paperback Engels 2023 8e druk 9780138219512
€ 66,94
Levertijd ± 8 werkdagen
Gratis verzonden

Samenvatting

The Comprehensive, Expert Guide to C# 12.0 for Programmers at All Levels

Updated for the Microsoft C# 12.0 Long Term Support (LTS) release, Essential C# 12.0 is a well-organized, no-fluff C# guide, suitable for every programmer. Building on the proven, high-value content of previous editions, world-class C# expert Mark Michaelis illuminates key enhancements in C# 12.0, including any-type aliases, inline arrays, default lambda expression parameters, and expanded support for primary constructors.

Michaelis presents a comprehensive tutorial and reference for the entire C# language, helping you accelerate your journey to expert-level C# programmer. Succinct examples illustrate core constructs, and modern coding guidelines help you minimize bugs and write code that's easier to evolve. To help you quickly find what you need and maintain compatibility, the book includes version-specific icons and notes identifying when each innovation was introduced.

-Use structured programming constructs to write functioning code immediately

-Learn both the complexities and solutions to nullable reference types

-Thoroughly master C# object constructs, including classes, inheritance, and interfaces

-Reduce code redundancy with generics, delegates, and lambda expressions

-Take full advantage of collections with LINQ

-Improve multithreading with the taskbased async pattern and asynchronous streams

-Enhance performance through the parallel processing of data and multithreading tasks

-Make the most of refl ection, attributes, and the declarative programming paradigm

-Program complex types with enhanced pattern matching syntax

-Write succinct type defi nitions with record structs and classes

-Explore the new features of C# 8.0-C# 12.0

"Welcome to one of the most venerable and trusted franchises you could dream of in the world of C# book--and probably far beyond!"

--From the Foreword by Mads Torgersen, C# Lead Designer, Microsoft

Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

Specificaties

ISBN13:9780138219512
Taal:Engels
Bindwijze:paperback
Aantal pagina's:1232
Druk:8
Verschijningsdatum:21-12-2023

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

Foreword xv
Preface xvii
Acknowledgments xxxi
About the Author xxxiii
Chapter 1: Introducing C# 1
Hello, World 2
C# Syntax Fundamentals 12
Working with Variables 24
Console Input and Output 28
Managed Execution and the Common Language Infrastructure 38
Multiple .NET Frameworks 44
Summary 48
Chapter 2: Data Types 49
Type Name Forms 50
Fundamental Numeric Types 52
More Fundamental Types 63
Conversions between Data Types 84
Summary 92
Chapter 3: More with Data Types 93
Categories of Types 93
Declaring Types That Allow null 96
Implicitly Typed Local Variables 102
Tuples 103
Arrays 112
Summary 134
Chapter 4: Operators and Control Flow 137
Operators 137
Introducing Flow Control 156
Code Blocks ({}) 161
Code Blocks, Scopes, and Declaration Spaces 164
Boolean Expressions 166
Programming with null 173
Bitwise Operators (, |, &, ^, ~) 181
Control Flow Statements, Continued 187
Jump Statements 200
C# Preprocessor Directives 206
Summary 215
Chapter 5: Parameters and Methods 217
Calling a Method 218
Declaring a Method 225
Local Functions 232
Using Directives 233
Returns and Parameters on Main Method 242
Top-Level Statements 246
Advanced Method Parameters 247
Recursion 261
Method Overloading 264
Optional Parameters 267
Basic Error Handling with Exceptions 272
Summary 291
Chapter 6: Classes 293
Declaring and Instantiating a Class 298
Instance Fields 302
Instance Methods 305
Using the this Keyword 306
Access Modifiers 314
Properties 316
Constructors 333
Non-Nullable Reference Type Properties with Constructors 346
Nullable Attributes 354
Afgekapt op 60 regels

Managementboek Top 100

€ 66,94
Levertijd ongeveer 8 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Essential C# 12.0