Explore 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.
206 points by 0x00C0FFEE 200 days ago devblogs.microsoft.com 184 comments
Summary not yet generated for this article.

Comments (184 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open