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
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Apr 5, 2026 | Union types in C# 15 by 0x00C0FFEE | 225 | 211 |