Everything You Need to Know About the Latest in C#
summary
Demos run in Visual Studio Preview with language-version preview turned on and show concrete changes shipping in November: C# 14 in November adds left‑side null‑conditional assignment, short‑form lambdas that allow modifiers, and partial members for properties, events and constructors so source generators can declare and implement hooks. Auto‑properties gain a new field keyword for auto-properties to access the compiler‑generated backing field, with warnings for breaking‑name collisions. New extension blocks let you declare extension methods, properties and static members with real receiver/type parameters. Nominal union types compile to a struct wrapper and enable exhaustive pattern matching.
AI-written summary · about
chapters (13)
- 0:00C# 14 overview
- 2:27Null conditional assignment
- 7:47Partial properties and events
- 17:17Q&A
- 19:02Nameof for generics
- 20:23Auto property field access
- 27:09Q&A
- 30:23Extension members
- 45:39Extension properties and static methods
- 53:29Q&A
- 59:50Field in property setters
- 1:02:20Union types future
- 1:13:09Q&A and closing
related talks
01h 02mWhat’s Next in C#?
59mWhat's new in C#? Exciting new features in C# 9, 10 and 11!
59mLet’s catch up with C#! Exciting new features in C# 9, 10, 11, 12 and 13!
55mLet’s catch up with C#! Exciting new features in C# 9, 10, 11 and 12!
58mWhat's new in C# 11 now with less controversy!!
46mWhat’s new in C# 13
46mWhat’s new in C# 12 and beyond
01h 01mC# 8
