買這商品的人也買了...
商品描述
This quick C# 7 guide is a condensed code and syntax reference to the C# programming language, updated with the latest features of C# 7.3 for .NET and Windows 10. It presents the essential C# 7 syntax in a well-organized format that can be used as a handy reference.
In the C# 7 Quick Syntax Reference, you will 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 concise, to the point, and highly accessible. The book is packed with useful information and is a must-have for any C# programmer.
What You Will Learn
- Discover what's new in C# 7.3 and .NET for Windows 10 programming, including out values, ref locals and returns, local functions, throw exceptions, and numeric literals
- Create lightweight, unnamed types that contain multiple public fields
- Create branching logic based on arbitrary types and values of the members of those types
- Nest functions inside other functions to limit their scope and visibility
- Throw expressions in code constructs that previously were not allowed
- Declare methods with the async modifier to return other types in addition to Task
- Use the new numeric literals found in C# 7.3 to improve readability for numeric constants
Who This Book Is For
Those with some experience in programming, looking for a quick, handy reference. Some C# or .NET recommended but not necessary.
商品描述(中文翻譯)
這本快速的 C# 7 指南是 C# 程式語言的精簡代碼和語法參考,更新了 C# 7.3 在 .NET 和 Windows 10 上的最新功能。它以良好組織的格式呈現了 C# 7 的基本語法,可作為方便的參考。
在《C# 7 快速語法參考》中,您將找到 C# 語言語法的簡明參考:簡短、簡單且專注的代碼範例;精心編排的目錄;以及一個全面的索引,便於輕鬆回顧。您不會找到任何技術術語、冗長的範例、拖沓的歷史課程或機智的故事。您將找到的是一個簡潔、切中要點且高度可讀的語言參考。這本書充滿了有用的信息,是任何 C# 程式設計師的必備之書。
**您將學到什麼**
- 探索 C# 7.3 和 .NET 在 Windows 10 程式設計中的新功能,包括 out 值、ref 本地變數和返回值、本地函數、拋出異常和數字字面量
- 創建包含多個公共字段的輕量級、無名類型
- 根據任意類型及其成員的值創建分支邏輯
- 在其他函數內嵌套函數以限制其範圍和可見性
- 在以前不允許的代碼結構中拋出表達式
- 使用 async 修飾符聲明方法,以返回除 Task 之外的其他類型
- 使用 C# 7.3 中的新數字字面量來提高數字常量的可讀性
**本書適合誰**
有一定程式設計經驗的人,尋找快速、方便的參考資料。建議具備一些 C# 或 .NET 的知識,但不是必需的。