Explore union types in C# 15

(devblogs.microsoft.com)

14 points | by 0x00C0FFEE a day ago ago

1 comments

  • karmakaze 11 hours 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).