C# 7 Quick Syntax Reference, 2nd Edition
- Length: 180 pages
- Edition: 2nd ed.
- Language: English
- Publisher: Apress
- Publication Date: 2018-08-22
- ISBN-10: 1484238168
- ISBN-13: 9781484238165
- Sales Rank: #173057 (See Top 100 Books)
C# 7 Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library
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.
Table of Contents
Chapter 1: Hello World
Chapter 2: Compile and Run
Chapter 3: Variables
Chapter 4: Operators
Chapter 5: Strings
Chapter 6: Arrays
Chapter 7: Conditionals
Chapter 8: Loops
Chapter 9: Methods
Chapter 10: Class
Chapter 11: Inheritance
Chapter 12: Redefining Members
Chapter 13: Access Levels
Chapter 14: Static
Chapter 15: Properties
Chapter 16: Indexers
Chapter 17: Interfaces
Chapter 18: Abstract
Chapter 19: Namespaces
Chapter 20: Enum
Chapter 21: Exception Handling
Chapter 22: Operator Overloading
Chapter 23: Custom Conversions
Chapter 24: Struct
Chapter 25: Preprocessors
Chapter 26: Delegates
Chapter 27: Events
Chapter 28: Generics
Chapter 29: Constants
Chapter 30: Asynchronous Methods