C# 15 (in preview with . NET 11) lets break and continue target an outer loop by label: outer: for (int x = 0; x < xMax; x++) { for (int y = 0; y < yMax; y++) { if (ShouldSkipRest(x, y)) continue outer;
if (ShouldExitAll(x, y)) break outer; } } Hon...
Source: [Hacker News](https://news.ycombinator.com/item?id=50088973)