Comment by ygra
11 years ago
Sometimes you even have to, because fall-through is illegal in C# except with empty case labels. goto case makes things more explicit.
Although there is no reason why they wouldn't use goto. The oft-cited "goto statement considered harmful" was in a very different context and basically just ranted against using goto when there are control structures that make intent clearer.
No comments yet
Contribute on Hacker News ↗