ENGLISH

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

Book information

Publisher
Apress
Year
2018
ISBN
978-1-4842-3816-5;978-1-4842-3817-2
Language
english
Format
PDF
Filesize
2 MB (2022095 bytes)
Edition
2nd ed.
Pages
XVIII, 180\178
Time added
2019-01-12 07:27:57

Description

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 LearnDiscover 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 fieldsCreate 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 TaskUse 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. Front Matter ....Pages i-xviii Hello World (Mikael Olsson)....Pages 1-3 Compile and Run (Mikael Olsson)....Pages 5-7 Variables (Mikael Olsson)....Pages 9-13 Operators (Mikael Olsson)....Pages 15-19 Strings (Mikael Olsson)....Pages 21-24 Arrays (Mikael Olsson)....Pages 25-27 Conditionals (Mikael Olsson)....Pages 29-31 Loops (Mikael Olsson)....Pages 33-35 Methods (Mikael Olsson)....Pages 37-47 Class (Mikael Olsson)....Pages 49-60 Inheritance (Mikael Olsson)....Pages 61-66 Redefining Members (Mikael Olsson)....Pages 67-71 Access Levels (Mikael Olsson)....Pages 73-79 Static (Mikael Olsson)....Pages 81-85 Properties (Mikael Olsson)....Pages 87-91 Indexers (Mikael Olsson)....Pages 93-96 Interfaces (Mikael Olsson)....Pages 97-100 Abstract (Mikael Olsson)....Pages 101-104 Namespaces (Mikael Olsson)....Pages 105-108 Enum (Mikael Olsson)....Pages 109-111 Exception Handling (Mikael Olsson)....Pages 113-120 Operator Overloading (Mikael Olsson)....Pages 121-125 Custom Conversions (Mikael Olsson)....Pages 127-128 Struct (Mikael Olsson)....Pages 129-132 Preprocessors (Mikael Olsson)....Pages 133-136 Delegates (Mikael Olsson)....Pages 137-144 Events (Mikael Olsson)....Pages 145-149 Generics (Mikael Olsson)....Pages 151-161 Constants (Mikael Olsson)....Pages 163-167 Asynchronous Methods (Mikael Olsson)....Pages 169-173 Back Matter ....Pages 175-180

Similar books