C# 10 Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library, 4th Edition

  • 1h 33m
  • Mikael Olsson
  • Apress
  • 2022

Discover what's new in C# and .NET for Windows programming. This book is a condensed code and syntax reference to the C# programming language, updated with the latest features of version 10 for .NET 6.

You'll review the essential C# 10 and earlier syntax, not previously covered, in a well-organized format that can be used as a handy reference. Specifically, unions, generic attributes, CallerArgumentExpression, params span, Records, Init only setters, Top-level statements, Pattern matching enhancements, Native sized integers, Function pointers and more.

You'll 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 a must-have for any C# programmer.

You will:

  • Employ nullable reference types
  • Work with ranges and indices
  • Apply recursive patterns to your applications
  • Use switch expressions

About the Author

Mikael Olsson is a professional web entrepreneur, programmer, and author. He works for an R&D company in Finland, where he specializes in software development. In his spare time he writes books and creates websites that summarize various fields of interest. The books he writes are focused on teaching their subjects in the most efficient way possible, by explaining only what is relevant and practical without any unnecessary repetition or theory. The portal to his online businesses and other websites is siforia.com.

In this Book

  • Introduction
  • Hello World
  • Compile and Run
  • Variables
  • Operators
  • Strings
  • Arrays
  • Conditionals
  • Loops
  • Methods
  • Class
  • Inheritance
  • Redefining Members
  • Access Levels
  • Static
  • Properties
  • Indexers
  • Interfaces
  • Abstract
  • Namespaces
  • Enum
  • Exception Handling
  • Operator Overloading
  • Custom Conversions
  • Struct
  • Record
  • Preprocessors
  • Delegates
  • Events
  • Generics
  • Constants
  • Asynchronous Methods
SHOW MORE
FREE ACCESS