Termsslug: union-types

Union Types

联合类型

Type composition declared with the union keyword and checked for exhaustiveness.

Curated Intelligence

1 items · Page 1/1
InfoQ 中文T2·Tools
58 pts
Microsoft Ships .NET 11 with C# 15 Union Types and Native AOT CLI Hosting

.NET 11 arrives as a Standard Term Support release with two years of support, shipping alongside C# 15, F# 11, ASP.NET Core 11, MAUI and EF Core 11. C# 15 adds union types declared with the union keyword plus exhaustiveness-checked switch expressions, closed hierarchies, collection expression arguments and extension indexers, while MAUI enables CoreCLR by default and the CLI host moves to native AOT.