出版时间:2024
官网链接:Pearson
下载地址:百度网盘(PDF+EPUB)
内容简介:
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.
World-class C# expert 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, lambda expressions, and events
- Take full advantage of collections, including the new standard query operator collection API
- Make the most of reflection, attributes, and the declarative programming paradigm
- Improve multithreading with the task-based async pattern and C# 8.0 asynchronous streams
- Enhance performance through the parallel processing of data and multithreading tasks
- Program complex types with enhanced pattern matching syntax
- Interoperate with unmanaged code written in other languages, including C-based APIs
- Explore the relationship between C# programs and the underlying CLI runtime