5 posts about C# union types by 4 contributors.
Know C# union types? Share what you know with developers who are learning it.
Model C# union-style API results with records and serialize them using System.Text.Json polymorphism in ASP.NET Core minimal APIs.
Learn how C# 15 union types can model API results in ASP.NET Core using success, validation, and not-found cases with exhaustive pattern matching.
Benchmark C# 15 union types in .NET 11 by comparing pattern matching performance, memory allocations, and execution costs against traditional C# approaches.
Benchmark C# 15 union types with .NET 11 System.Text.Json for API contracts. Measure serialization, deserialization, payload size, and compatibility.
Explore C# Union Types in .NET 11! Learn how they simplify handling multiple outcomes, improve type safety, and lead to cleaner, more maintainable code.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article