Microsoft Developer Blogs company blog

Union types in C# 15

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.
Points
225
HN comments
211
Submissions
1
Cited by
0 commenters

Software EngineeringProgramming Languages2026

On Hacker News

SubmittedTitle on HNPointsComments
Apr 5, 2026Union types in C# 15 by 0x00C0FFEE225211

More from Microsoft Developer Blogs

All 156 posts →

Related posts from the same era