Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.05 KB

File metadata and controls

23 lines (16 loc) · 1.05 KB

Readme - Code Samples for Chapter 2, Core C#

Core C# dives into core C# features and gives you details on top-level statements and information on declaration of variables and data types. The chapter covers target-typed new expressions, explains nullable reference types, and defines a program flow that includes the new switch expressions.

This chapter contains the following code samples:

  • TopLevelStatements (C# 9 top-level statements)
  • CommandLineArgs (passing command line arguments)
  • VariablesScopeSample (scope of variables)
  • NullableValueTypes (nullable struct)
  • NullableReferenceTypes
  • ProgramFlow
  • SwitchStatement
  • SwitchExpression
  • ForLoop (using for)
  • StringSample (initializing the string type, string concatenation)

For code comments and issues please check Professional C#'s GitHub Repository

Please check my blog csharp.christiannagel.com for additional information on topics covered in the book.

Thank you!