chiprook
← Software
SoftwareOctober 20, 2026, 21:12

C# 15 preview: union types, closed hierarchies and labeled break

C# 15 will add union types that combine a fixed set of types without inheritance or interfaces, plus closed hierarchies that block inheritance from other assemblies. Labeled break and continue statements also simplify exiting nested loops.

C# 15 preview: union types, closed hierarchies and labeled break
#Microsoft#C#
Read next
Software

C# 15 adds union types with compiler-checked exhaustive switches

Software

C# 15 adds labeled break and continue for nested loops

Science

First type I superconductor breaking time-reversal symmetry discovered

Software

Copilot Audio Overview slaps strictest security label on saved podcasts