C# 7 Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library

Mikael Olsson

  • 出版商: Apress
  • 出版日期: 2018-08-22
  • 定價: $1,050
  • 售價: 6.0$630
  • 語言: 英文
  • 頁數: 200
  • 裝訂: Paperback
  • ISBN: 1484238168
  • ISBN-13: 9781484238165
  • 相關分類: C#
  • 立即出貨(限量) (庫存=1)

買這商品的人也買了...

相關主題

商品描述

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局部變量和返回值、局部函數、拋出異常和數字字面量
- 創建包含多個公共字段的輕量級無名類型
- 基於任意類型和成員值創建分支邏輯
- 將函數嵌套在其他函數中,以限制其範圍和可見性
- 在以前不允許的代碼結構中使用拋出表達式
- 使用C# 7.3中的新數字字面量來提高數字常量的可讀性
- 使用async修飾符聲明方法,以返回Task以外的其他類型

這本書適合對編程有一定經驗的人,尋找一本快速、方便的參考書。建議具備一些C#或.NET的知識,但不是必需的。