Sources

NB NDepend Blog
Blog

5stories
Nov 18latest

Stories

C#
C#
NBNDepend Blog NDepend Nov 13

C# 15 Labeled Break Continue

With C# 15 and .NET 11, a break or continue statement can name the loop it targets, ending the long reliance on flags and goto for escaping nested loops. The post covers the syntax, the compiler errors and the tooling that migrates old patterns.

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message