+ 1
Why does C# drop support of fallthrough?
Fallthrough is useful in some cases, and C, C++ do support it. However, this is not avaliable in C#. I'm wondering why Microsoft does not add this into C#.
1 Réponse
0
Because they create a replacement, goto case:
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/goto