How to Implement Type Safe Unions in C# With OneOf
Jan 23 · 12 min read · Have you ever needed a method to return different types depending on the situation? Perhaps a payment processor that returns different payment types, an order that can be in various states with different data, or better, a file loader that handles mu...
Join discussion




