Re: Funny loop with post-increment.
Jon Skeet <[email protected]> Tue, 19 Feb 2008 12:18:22 +0000
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <[email protected]> |
Jon Skeet wrote: > silky wrote: >>> No, it's not. >> >> Yes it is. What if I want to do nothing in case 1, print in case 2, >> and do something in the default case? How do I do it without break? > > Two options: > > 1) Don't include the case <snip> Just before anyone else replies - yes, I now see why that isn't an option, due to the default case. Option 2 (empty braces) would still be fine though. Jon =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com