What’s new in C# 12 and beyond
summary
Preview of C# 12 shows concrete changes: primary constructors land for all classes/structs (parameters are real constructor params and can be captured), type aliases accept more syntactic forms, and collection literals plus a spread operator match new list patterns so literals construct target-typed collections. Demo compiles in Roslyn/VS; some features remain experimental (natural type for literals, field backing access in auto-properties) due to breaking-change concerns. Roadmap includes extension types (explicit/implicit overlays) and performance-first codegen.
AI-written summary · about
chapters (8)
- 0:00Welcome
- 5:25C# 11 improvements
- 9:36Primary constructors
- 17:24Collection literals
- 27:31Future plans
- 31:23Field access in auto properties
- 36:41Extension types
- 44:13Closing
related talks
01h 02mWhat’s Next in C#?
59mWhat's new in C#? Exciting new features in C# 9, 10 and 11!
46mWhat’s new in C# 13
41m(Missing last part) - What’s Next in C#?
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!
59mLet’s catch up with C#! Exciting new features in C# 9, 10, 11, 12 and 13!
01h 14mEverything You Need to Know About the Latest in C#
