Explore union types in C# 15

13 points
1/21/1970
17 hours ago
by 0x00C0FFEE

Comments


karmakaze

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).

6 hours ago