All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Exploring union types in .NET 11 (C# 15): A developer's guide to the new feature

By

Andrew Lock

15d ago· 8 min readenInsight

Summary

This article explores the introduction of union types in .NET 11 (C# 15), a long-requested feature. The author explains what union types are, how to use them, their implementation details, and how developers can create custom union types. It's part of a series on .NET 11 preview features, written from the perspective of an ASP.NET Core developer sharing hands-on experiences.

Source

bskyExploring union types in .NET 11 (C# 15): A developer's guide to the new featureandrewlock.net

Key quotes

· 3 pulled
Unions are one of those features that have been requested for years, and in .NET 11 (or rather, C# 15) they're finally here.
In this post I describe what that support looks like, how you can use them, how they're implemented, and how you can implement your own custom types.
This blog is where I share my experiences as I journey into ASP.NET Core.
Snippet from the RSS feed
Hi, my name is Andrew, or ‘Sock’ to most people. This blog is where I share my experiences as I journey into ASP.NET Core.

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.