What's New in C# 9
summary
Covers new features in C# 9 including source generators, improved pattern matching, records, and contextually-typed new(). Also explains lesser-known changes like nullable reference type adjustments, contextually-typed conditional expressions, skip initialization of local variables, native integer types, and function pointers, and mentions pending features (parameter null-check syntax and covariant return types). Examples show which additions are syntactic sugar and which enable new scenarios.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 3:44Records in C# 9
- 11:05Init-only properties
- 14:37Pattern matching improvements
- 20:35Nullable reference types
- 27:09Convenience and optimizations
- 32:05Top-level statements and covariance
- 34:55Low-level optimizations
- 40:09Q&A
related talks
59mWhat's new in C#? Exciting new features in C# 9, 10 and 11!
01h 00mWhat's new in C#? - Exciting new features in C# 9, 10 and 11!
01h 14mThe Top 10 Best New Features in C# Version 6 to 9
01h 03mWhat's new in C#? Exciting new features in C# 8.0, 9.0 and 10!
59mLet’s catch up with C#! Exciting new features in C# 9, 10, 11, 12 and 13!
01h 00mWhat's new in C#? Exciting new features in C# 8.0, 9.0 and 10!
59mWhat's new in C#? Exciting new features in C# 8.0, 9.0 and 10!
59mLet’s catch up with C#! Exciting new features in C# 9, 10, 11, 12 and 13!
