Tagged articles

.NET 11

1 articles · Page 1 of 1
21CTO
21CTO
Sep 4, 2026 · Backend Development

C# 15 Preview Adds Union Types, Closed Hierarchies, and Expanded Unsafe Keyword

Microsoft's C# 15 preview introduces union types for compiler-verified type combinations, closed hierarchies to restrict inheritance, an expanded unsafe keyword for stricter memory safety, plus collection expression parameters, indexers in extensions, and labeled break/continue statements, all shipping with .NET 11 in November.

.NET 11C# 15closed hierarchies
0 likes · 8 min read
C# 15 Preview Adds Union Types, Closed Hierarchies, and Expanded Unsafe Keyword