Book description
- 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
Table of contents
- Cover
- Front Matter
- 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
- Back Matter
Product information
- Title: C# 7 Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library
- Author(s):
- Release date: August 2018
- Publisher(s): Apress
- ISBN: 9781484238172
You might also like
book
C# 8 Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library
This quick C# 8 guide is a condensed code and syntax reference to the C# programming …
book
C# Quick Syntax Reference
The C# Quick Syntax Reference is a condensed code and syntax reference to the C# programming …
book
Beginning C# 7 Programming with Visual Studio 2017
Easily get started programming using the ultra-versatile C# 7 and Visual Studio 2017 Beginning C# 7 …
book
Beginning C# 7 Hands-On – The Core Language
A C# 7 beginners guide to the core parts of the C# language! About This Book …