What’s new in C# 13
summary
C# 13 delivers concrete language changes: auto-properties gain accessor bodies with a new field contextual name for the generated backing field (compiler offers a fixer that adds @ to avoid breakage), collection expressions extend to dictionaries and choose params of ReadOnlySpan overloads for allocation-free construction, and a new extension types feature lets methods, properties and indexers appear on existing types (demo with System.Text.Json worked but some bits remain experimental and performance-unoptimized). Preview compiler bits and docs are available; some APIs land later in .NET 9.
AI-written summary · about
chapters (6)
- 0:00Introduction to C# 13
- 5:47Params collection support
- 10:39Field access in properties
- 17:42Extension types
- 36:26Generic extension aliases
- 39:32Q&A and closing
related talks
01h 01mWhat's new in .NET 9 & C# 13
46mWhat’s new in C# 12 and beyond
01h 03mWhat's new in .NET 9 & C# 13
01h 02mWhat’s Next in C#?
59mLet’s catch up with C#! Exciting new features in C# 9, 10, 11, 12 and 13!
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#
59mWhat's new in C#? Exciting new features in C# 9, 10 and 11!
