.NET.NET Blog
Explore union types in C# 15
Published on April 2, 2026By .NET Blog
C# 15 introduces union types β declare a closed set of case types with implicit conversions and exhaustive pattern matching. Try unions in preview today and see the broader exhaustiveness roadmap. The post Explore union types in C# 15 appeared first on .NET Blog.
Read the full article: https://devblogs.microsoft.com/dotnet/csharp-15-union-types/
Source: .NET Blog