Discriminated Unions Are Finally in .NET But

Nick Chapsas walks through discriminated unions (union types) in C# 15 and .NET 11, now merged in preview, and highlights the trade-offs and “gotchas” to keep in mind.

Full summary based on transcript

What the video is about

Nick Chapsas showcases discriminated unions in C# 15 and .NET 11 after the feature was merged in preview.

Discriminated unions in C#/.NET (preview)