chiprook
← Software
SoftwareOctober 11, 2026, 20:43

C# 15 adds labeled break and continue for nested loops

In C# 15, shipping with .NET 11, break and continue can target an outer loop by label: break search; and continue orders;. This removes boolean flags and goto when exiting nested loops; .NET 11 is currently at Release Candidate 1.

C# 15 adds labeled break and continue for nested loops
#Microsoft#C##.NET
Read next
Policy

MediaNama urges TRAI to reject network slicing that breaks net neutrality

AI

Claude breaks eight-loop record in particle physics

Software

C# Dev Kit 11 to Ship Alongside .NET 11 With Up to 180x Faster Loads

Software

Microsoft releases .NET SDK for AG-UI agent-user protocol