Content by Mads Torgersen (2)
Mads Torgersen introduces union types coming in C# 15, showing how they let you model a closed set of unrelated types, create union values, and switch over them with full strong typing. He also points to a preview compiler you can try in Visual Studio and VS Code.
Mads Torgersen introduces union types coming in C# 15, showing how they let you model a closed set of unrelated types, create union values, and switch over them with full strong typing, with notes on trying the feature today via preview tooling in Visual Studio and VS Code.
End of content