.NET 11 Preview
.NET 11 Preview 7
Link to speclet
Link to Pull request
New behavior
Allows break and continue to optionally specify a label that identifies which loop or switch statement to target.
outer: for (...)
{
for (...)
{
break outer;
}
}
In reference, this impacts all looping constructs, and switch statements will need the behavior clarified for the new feature.
Language reference tasks
No response
Everyday C# tasks
No response
Associated WorkItem - 595283
.NET 11 Preview
.NET 11 Preview 7
Link to speclet
Link to Pull request
New behavior
Allows
breakandcontinueto optionally specify a label that identifies which loop or switch statement to target.In reference, this impacts all looping constructs, and switch statements will need the behavior clarified for the new feature.
Language reference tasks
No response
Everyday C# tasks
No response
Associated WorkItem - 595283