core
core copied to clipboard
Can .net 10 provide enhancements to while functions? Add support for while labels
URL(s)
https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview5/libraries.md#params-offers-better-performance-with-span-overloads
Description
Add support for while labels, allowing them to exit the outer while from within a nested while.
That kind of feature was requested in https://github.com/dotnet/csharplang/discussions/6634; please show your interest 👍 there.