C# 10 Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library
暫譯: C# 10 快速語法參考:語言、API 與函式庫的口袋指南
Olsson, Mikael
買這商品的人也買了...
相關主題
商品描述
Discover what's new in C# and .NET for Windows programming. This book is a condensed code and syntax reference to the C# programming language, updated with the latest features of version 10 for .NET 6.
You'll review the essential C# 10 and earlier syntax, not previously covered, in a well-organized format that can be used as a handy reference. Specifically, unions, generic attributes, CallerArgumentExpression, params span, Records, Init only setters, Top-level statements, Pattern matching enhancements, Native sized integers, Function pointers and more.
You'll find a concise reference to the C# language syntax: short, simple, and focused code examples; a well laid out table of contents; and a comprehensive index allowing easy review. You won't find any technical jargon, bloated samples, drawn-out history lessons, or witty stories. What you will find is a language reference that is to the point and highly accessible.
The book is a must-have for any C# programmer.
What You Will Learn
You'll review the essential C# 10 and earlier syntax, not previously covered, in a well-organized format that can be used as a handy reference. Specifically, unions, generic attributes, CallerArgumentExpression, params span, Records, Init only setters, Top-level statements, Pattern matching enhancements, Native sized integers, Function pointers and more.
You'll find a concise reference to the C# language syntax: short, simple, and focused code examples; a well laid out table of contents; and a comprehensive index allowing easy review. You won't find any technical jargon, bloated samples, drawn-out history lessons, or witty stories. What you will find is a language reference that is to the point and highly accessible.
The book is a must-have for any C# programmer.
What You Will Learn
- Employ nullable reference types
- Work with ranges and indices
- Apply recursive patterns to your applications
- Use switch expressions
商品描述(中文翻譯)
探索 C# 和 .NET 在 Windows 程式設計中的新功能。本書是 C# 程式語言的精簡代碼和語法參考,更新至 .NET 6 的版本 10 的最新特性。您將以良好組織的格式回顧 C# 10 及之前版本的基本語法,這些內容在之前的資料中未曾涵蓋。具體來說,包括聯合(unions)、泛型屬性(generic attributes)、CallerArgumentExpression、params span、記錄(Records)、僅初始化設置器(Init only setters)、頂層語句(Top-level statements)、模式匹配增強(Pattern matching enhancements)、原生大小整數(Native sized integers)、函數指針(Function pointers)等。
您將找到 C# 語言語法的簡明參考:簡短、簡單且專注的代碼範例;良好排版的目錄;以及全面的索引,便於輕鬆回顧。您不會找到任何技術術語、冗長的範例、拖沓的歷史課程或機智的故事。您將找到的是一個直接且易於理解的語言參考。
本書是每位 C# 程式設計師的必備之選。
您將學到什麼
- 使用可為空的參考類型(nullable reference types)
- 處理範圍和索引(ranges and indices)
- 將遞歸模式應用於您的應用程式
- 使用 switch 表達式(switch expressions)
本書適合誰