|
|
|
|
|
by debugnik
64 days ago
|
|
That is not what C# has just added to the language though. These union types so far are just wrappers over an `object` field which gets downcasted. F# offers actual field sharing for value-type (struct) unions by explicitly sharing field names across cases, which is as far as you can push it on the CLR without extra runtime support. |
|