Page 9 - CSharp/C#
P. 9
Index initializers 135
String interpolation 137
Basic Example 137
Using interpolation with verbatim string literals 138
Expressions 138
Escape sequences 140
FormattableString type 140
Implicit conversions 141
Current and Invariant Culture Methods 141
Behind the scenes 142
String Interpolation and Linq 142
Reusable Interpolated Strings 143
String interpolation and localization 143
Recursive interpolation 144
Await in catch and finally 145
Null propagation 146
Basics 146
Use with the Null-Coalescing Operator (??) 147
Use with Indexers 147
Use with void Functions 147
Use with Event Invocation 148
Limitations 148
Gotchas 148
Using static type 150
Improved overload resolution 150
Minor changes and bugfixes 151
Using an extension method for collection initialization 152
Disable Warnings Enhancements 153
Chapter 26: C# 7.0 Features 154
Introduction 154

