NewsCrawler.org

Announcing .NET 11

Announcing .NET 11
Image: Reddit

Microsoft has released .NET 11 on 10 November 2026. The release focuses on faster application building, with changes to C# 15, ASP.NET Core, .NET MAUI and Windows development, plus hundreds of runtime optimizations. .NET 11 is a Standard Term Support (STS)[1] release with two years of support. STS and Long Term Support (LTS)[2] releases have the same quality and servicing policies, and the difference is the length of support. .NET 10 remains a supported LTS option.

C# 15 adds union types, where a value can be one of a declared set of case types, with exhaustiveness checking in switch expressions. It also adds closed hierarchies, which limit direct derivation to the declaring assembly. The SDK now enables a Native AOT[3] CLI host by default, so commands such as help and version queries can run without starting the managed CLI.

The just-in-time compiler (JIT)[4] removes more redundant bounds checks and branches and can fold more operations into constants. In-process crash report logging, previously available on mobile platforms, now also supports Linux and macOS. The article notes that throughput, startup time, memory use and deployment size depend on the workload and publishing options.

Microsoft shares (MSFT)

484.52 USD −9.1% since the news day, November 10

Close on November 20 Quotes: CNBC Chart by TradingView

Read the original devblogs.microsoft.comDiscussion

Discussion

Commenters mostly react to the C# 15 syntax and union design. Some ask why unions copy C++'s std::variant instead of Rust's enums, and one notes that the closed keyword can be bypassed by deriving from a closed class in another assembly. Others praise labeled break and continue and the runtime async work.

Sources

Published: First seen: Читать по-русски

Open as a page