C# Programming Cookbook
上QQ阅读APP看书,第一时间看更新

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 in catch and finally blocks