Improving with C# 8.0
summary
Shows concrete C# 8 features and tradeoffs: nullable reference types opt in via project file and produce many warnings but catch null dereferences; IAsyncEnumerable plus await foreach for asynchronous streams; recursive pattern matching and switch expressions that combine with tuples and Deconstruct for positional/property patterns; range/index syntax (.. and ^) and Span<T> slicing for zero-copy slices; enhanced using declarations and default interface implementations (requires .NET Core 3.0, shipped Sept 2019) and notes about migration pain and compiler directives to suppress warnings.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 4:00Tuples
- 6:32Named tuples
- 8:07Pattern matching
- 10:19Switch expression
- 12:19Using tuples
- 16:14Property patterns
- 19:54Collections of data
- 23:55Nulls
- 24:30Nullable References
- 31:33Asynchronous Streams
- 36:10Default Interface Methods
- 39:02Conclusion








