Explore union types in C# 15
https://devblogs.microsoft.com/dotnet/csharp-15-union-types/
#HackerNews #CSharp15 #UnionTypes #MicrosoftDotNet #Programming #Languages #SoftwareDevelopment
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.