If c# switch-case statements can't fall through anyhow, why require a break keyword after each case?
but why isn't the break just assumed at the end of each case, if nothing else is present?
-
-
probably to make it clear that it's not going to fall through. C# wants you to write code that is clear to others.
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.