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.
"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.
Download the sample pages (includes Chapter 5)
Preface
Acknowledgments
About the Author
Chapter 1: Introducing C#
Chapter 2: Data Type
Chapter 3: More with Data Types
Chapter 4: Operators and Control Flow
Chapter 5: Methods and Parameters
Chapter 6: Classes
Chapter 7: Inheritance
Chapter 8: Interfaces
Chapter 9: Introducing Structs and Records
Chapter 10: Well Formed Types
Chapter 11: Exception Handling
Chapter 12: Generics
Chapter 13: Delegates and Lambda Expressions
Chapter 14: Events
Chapter 15: Collection Interfaces with Standard Query Operators
Chapter 16: LINQ with Query Expressions
Chapter 17: Building Custom Collections
Chapter 18: Reflection, Attributes, and Dynamic Programming
Chapter 19: Introducing Multithreading
Chapter 20: Programming the Task Based Asynchronous Pattern
Chapter 21: Iterating in Parallel
Chapter 22: Thread Synchronization
Chapter 23: Platform Interoperability and Unsafe Code
Chapter 24: The Common Language Infrastructure
Index
Index of 12.0 Topics
Index of 11.0 Topics
Index of 8.0 Topics
