Union-based Result Types in C#

I previously wrote about result types and union types in C#. I got to wondering if a union-based approach would allow nicer result types. In short, it works, but not as nicely as I’d hope.

May 29, 2022 · 3 min