It′s mid-fall which means a new version of C# is coming soon. It′s time to find out what updates will soon appear in the language. Although C#12 has fewer features than previous versions, it still...
I mean if your issue is with the break pattern you could just switch to using a switch expression instead of a statement, it’ll probably be a little cleaner for ya
I mean if your issue is with the break pattern you could just switch to using a switch expression instead of a statement, it’ll probably be a little cleaner for ya
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/switch-expression
Edit: sorry just realized y’all already talked about this :p