C# 15: Union types

Union types on one page: the problem they solve, how to declare one, and how the compiler checks every switch. From the blog post [What's new in C# 15: Union types](/blog/whats-new-in-csharp-15-union-types).

Updated

The cheat sheet C# 15: Union types, with Codey: the three points of the post on one page
Category
C#
Level
Apprentice
Tags
csharp, csharp-15, whats-new