The Core of .NET, Microsoft Sessions

W06 Everything You Need to Know About the Latest in C#

07/29/2026

9:30am - 10:45am

Level: Intermediate

Dustin Campbell

Principal Software Engineer, .NET Developer Experience Team

Microsoft

Mads Torgersen

C# Lead Designer, .NET Team

Microsoft

Union types are coming to C#! Unions model closed sets of data shapes, as commonly seen in e.g. wire protocols. Mads and Dustin explore the clean expression of intent and the confidence and elegance that unions lend to consuming code. We'll also take a look at other recent and upcoming C# features, such as extension members and closed classes.

You will learn:

  • Find out what's coming to the next version of C#
  • How to express closed sets of types with unions
  • How to add new members to existing types with extension members