Explore union types in C# 15

(devblogs.microsoft.com)

15 points | by 0x00C0FFEE 2 days ago ago

1 comments

  • karmakaze 2 days ago ago

    I haven't read this in detail but I expect it to be the same kind of sealed type that many other languages have. It doesn't cover ad-hoc unions (on the fly from existing types) that are possible in F# (and not many non-FP languages with TypeScript being the most notable that does).