Skip to content
Source: InfoQ

🟣Microsoft Ships .NET 11 With C# 15 Union Types and Two-Year Support

Your .NET 8 and 9 apps hit end of support soon

TL;DR

Microsoft released .NET 11 as an STS version with two years of support. C# 15 adds union types and exhaustive switch checks. .NET 8 and 9 hit end of support November 10, 2026, so plan your upgrade path now.

Microsoft just shipped .NET 11, and the headline feature is C# 15 union types. You declare them with the union keyword, and the compiler now checks switch expressions over them for exhaustiveness. No more forgotten cases slipping into production at 2 a.m. If you're on .NET 8 or 9, the clock is ticking. Both reach end of support on November 10, 2026. .NET 11 is Standard Term Support, so you get two years. If you want stability over novelty, .NET 10 stays the Long-Term Support pick. Pick based on how often you want to upgrade, not on shiny features. The performance story is quieter but real. The JIT removes more bounds checks and improves devirtualization. The CLI now starts through a Native AOT host by default. Container publishing can produce reproducible digests, which matters if you're chasing build determinism. Entity Framework Core 11 requires .NET 11, generates fewer unnecessary joins, and adds experimental vector search for SQL Server.

Microsoft Ships .NET 11 With C# 15 Union Types and Two-Year Support — InfoQ

Key Points

1

C# 15 adds union types declared with the union keyword, and switch expressions over them get checked for exhaustiveness at compile time.

Keep reading — it's free

Enter your email to keep reading — plus the best of AI & tech, daily. Free, forever.

Also get
or

Already a member? Sign in

.NET 11C# 15Union TypesEntity Framework CoreMicrosoft

Comments

Subscribe to join the conversation...

Be the first to comment