DEV Community

Discussion on: OneOf<Us> Discriminated Unions in C#

Collapse
 
peledzohar profile image
Zohar Peled

Can types specified in the OneOf be non related? Because if the all implement the same interface this can be done using standard generics...