What's New in C# 14 and .NET 10
summary
C# 14 adds instance-style extension properties, unbounded-generic nameof, a setter null-conditional assignment (?.=), field access in property setters, and partial constructors/events — demos compile but AOT breaks reflection-heavy libs like CSV Helper unless publish properties change. .NET 10 surfaces net tool exec and a friendlier add command, flips Datus GC on for small-container workloads, adds numeric string ordering and async ZIP APIs, improves minimal-API validation and server-sent events, and brings EF left/right join and contains translation. file-based apps publish single-file AOT by default.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 1:12C# 14 new features
- 2:19Extension methods in C# 14
- 4:08New extension syntax
- 7:01Field keyword for generics
- 9:11Null conditional operator
- 11:47Partial events in C# 14
- 14:39.NET 10 introduction
- 16:50New SDK features
- 18:58Net tool exec aliases
- 20:25Datus garbage collector
- 22:13String ordering and Zip API
- 25:33File-based apps improvements
- 27:02Running file-based apps
- 32:08Minimal API improvements
- 33:36Validation and SSE in .NET 10
- 36:54Server-sent events demonstration
- 39:06Entity Framework enhancements
- 40:30Q&A
related talks
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!
01h 02mWhat's new in C#? Exciting new features in C# 8 0 and 9 0
01h 06mThe top 10 best new features in C# version 6 to 9
58mWhat's new in C# 11
01h 00mWhere next, C#?
01h 01mWhat's coming in .NET 8 & C# 12
56mC# 8 and Beyond
