C# 8 Quick Syntax Reference: A Pocket Guide to the Language,APIs,and Library
Authors: Mikael Olsson
ISBN-10: 1484255763
ISBN-13: 9781484255766
Edition 版本: 3rd ed.
Released: 2019-12-21
Print Length 页数: 188 pages
Book Description
This quick C# 8 guide is a condensed code and syntax reference to the C# programming language,updated with the latest features of C# 8 for .NET and Windows 10. This book presents the essential C# 8 syntax in a well-organized format that can be used as a handy reference. Specifically,it covers nullable reference types,async streams,ranges and indices,default implementations of interface members,recursive patterns,switch expressions,target-typed new-expressions,platform dependencies and more.
In the C# 8 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 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# 8 and .NET for Windows 10 programming
Employ nullable reference types
Explore the advanced async streams now available in C# 8
Work with ranges and indices
Apply recursive patterns to your applications
Use switch expressions
1.Hello World
2.Compile and Run
3.Variables
4.Operators
5.Strings
6.Arrays
7.Conditionals
8.Loops
9.Methods
10.Class
11.Inheritance
12.Redefining Members
13.Access Levels
14.Static
15.Properties
16.Indexers
17.Interfaces
18.Abstract
19.Namespaces
20.Enum
21.Exception Handling
22.Operator Overloading
23.Custom Conversions
24.Struct
25.Preprocessors
26.Delegates
27.Events
28.Generics
29.Constants
30.Asynchronous Methods