Chapter 1. New Features in C# 6.0
In this chapter, we will cover the following recipes with regard to the new features of C# 6.0:
- Creating your Visual Studio project
- String interpolation
- Null-conditional operator
- Initializers for auto-implemented properties and getter-only auto properties
- Index initializers
- The
nameof
expressions - Expression-bodied functions and properties
- Using
static
- Exception filters
- Using
await
operator incatch
andfinally
blocks
Introduction
C# as a programming language first appeared in 2000. Its development team is led by the prominent Danish software engineer Anders Hejlsberg. He is the lead architect of C# and core developer of TypeScript. The C# programming language is simple to use, and this book will deal with C# 6.0, which was ...
Get C# Programming Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.