C# 8 and Beyond
summary
Demonstrations use Visual Studio 2019 previews and Roslyn preview compilers from GitHub and show working examples for tuples, deconstruction, switch expressions, ranges/indices, and pattern matching (including recursive patterns); nullable reference types appear as IDE warnings unless enabled and require annotation to eliminate nullability warnings; async streams and default interface implementations are proposed and sketched; record types, new object initializers, and other conveniences are described — some examples compile live, others are shown only on slides.
AI-written summary · about
chapters (11)
- 0:00Start
- 21:00Async streams
- 22:21Target-type new expression
- 23:49default in deconstruction
- 24:47Caller expression attribute
- 25:48Enhanced using pattern-based using
- 27:17Default interface methods
- 28:37Null coalescing assignment
- 31:19Record Types
- 33:15Declaration expressions
- 34:32Dictionary literals
related talks
54mC# 8 and Beyond
56mC# 8 and Beyond
47mExploring C# 8: The Deep Dive
39mThe State of C# - What Have I Missed?
01h 03mWhere is C# headed?
01h 06mThe State of C# - What Have I Missed?
01h 00mWhat's new in C#? Exciting new features in C# 8.0, 9.0 and 10!
01h 00mLet’s catch up with C#! Exciting new features in C# 9 to C# 14!
