C# 15 union types applied to a prescribing model: a dispensing outcome that is exactly one of three cases, handlers the compiler keeps exhaustive, and fifteen experiments on what unions compile to, how they behave when empty, what they cost, how they serialise, and how they work with .NET 10 and C# 14 code.
Read more →