.NET 11 ships with C# 15 union types, closed hierarchies and a Native AOT CLI host
Microsoft released .NET 11 on 10 November, timed with the start of .NET Conf 2026. It is a Standard Term Support release with two years of support; .NET 10 remains the current Long Term Support option, and Microsoft stresses that both get the same quality and servicing, only for different lengths of time.
The headline language change is in C# 15, now the default for projects targeting .NET 11. Union types let a value be one of a declared set of case types, convert from those types, and be checked for exhaustiveness in a switch expression. The announcement's example declares a ProductLookup that is either a Product or a ProductNotFound, so a caller can see both outcomes in the return type without falling back to object or an unrelated base class. Closed hierarchies are the complement: a closed class allows direct subclasses only inside its own assembly, which gives the compiler enough information to check patterns over the hierarchy. Smaller additions include arguments inside collection expressions, used in the post to pass a case-insensitive comparer to a HashSet, plus extension indexers and labeled break and continue. The memory-safety work stays in preview.
On the tooling side, the SDK now uses a Native AOT host for the CLI, so commands such as help or version checks can answer without starting the managed CLI, and the MSBuild server stays warm between invocations by default. File-based apps can span several files with #:include. Container publishing can produce reproducible image digests through SOURCE_DATE_EPOCH, and NuGet gains a minimum package publication age, a setting that lets teams wait before a newly published version becomes eligible; Microsoft notes it does not replace vulnerability checks.
Elsewhere, the libraries gain built-in Zstandard compression, ASP.NET Core adds asynchronous validation and OpenAPI 3.2, and .NET MAUI switches its default runtime to CoreCLR. The JIT removes more bounds checks and improves devirtualization, and in-process crash reports now also work on Linux and macOS.

Why it matters
Unions and closed hierarchies move a common pattern, "this call returns one of these outcomes", from documentation into the type system, where the compiler can catch a missed case. The NuGet publication-age setting is a smaller change with a supply-chain angle: it gives teams a waiting period for fresh releases.