Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
GeneralRe: Control cannot fall through from one case to another? Pin
PIEBALDconsult13-May-09 3:33
mvePIEBALDconsult13-May-09 3:33 
GeneralRe: Control cannot fall through from one case to another? Pin
Dan Neely13-May-09 4:00
Dan Neely13-May-09 4:00 
GeneralRe: Control cannot fall through from one case to another? Pin
molesworth13-May-09 4:24
molesworth13-May-09 4:24 
GeneralRe: Control cannot fall through from one case to another? Pin
PIEBALDconsult13-May-09 5:24
mvePIEBALDconsult13-May-09 5:24 
GeneralRe: Control cannot fall through from one case to another? Pin
Mycroft Holmes13-May-09 14:42
professionalMycroft Holmes13-May-09 14:42 
AnswerRe: Control cannot fall through from one case to another? Pin
dec8212-May-09 23:08
dec8212-May-09 23:08 
GeneralRe: Control cannot fall through from one case to another? Pin
Lutosław12-May-09 23:23
Lutosław12-May-09 23:23 
GeneralRe: Control cannot fall through from one case to another? PinPopular
OriginalGriff13-May-09 0:07
mveOriginalGriff13-May-09 0:07 
Firstly, find the programmer who originally wrote this. Take him outside, and beat him senseless. It's pretty bad code as C++, and can't be directly translated into C# as the later enforces rules to prevent accidental mistakes (such as fall through of cases).

Secondly, get out a pen and paper and do a flow diagram of some sort to work out how this spagetti works. Tidy the diagram up so it can be reliably implemented in any language. Re-code into C#.

Not a quick job by any means, but it's the companies' (or whoevers') fault for allowing such rubbish to be produced in the first place!

No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

GeneralRe: Control cannot fall through from one case to another? Pin
dec8213-May-09 21:57
dec8213-May-09 21:57 
GeneralRe: Control cannot fall through from one case to another? Pin
EliottA13-May-09 2:31
EliottA13-May-09 2:31 
QuestionRe: Control cannot fall through from one case to another? Pin
Lutosław13-May-09 5:18
Lutosław13-May-09 5:18 
AnswerRe: Control cannot fall through from one case to another? Pin
OriginalGriff13-May-09 5:52
mveOriginalGriff13-May-09 5:52 
GeneralRe: Control cannot fall through from one case to another? Pin
Lutosław13-May-09 8:53
Lutosław13-May-09 8:53 
GeneralRe: Control cannot fall through from one case to another? Pin
OriginalGriff13-May-09 8:55
mveOriginalGriff13-May-09 8:55 
AnswerRe: Control cannot fall through from one case to another? Pin
0x3c013-May-09 0:08
0x3c013-May-09 0:08 
GeneralRe: Control cannot fall through from one case to another? Pin
Luc Pattyn13-May-09 1:20
sitebuilderLuc Pattyn13-May-09 1:20 
GeneralRe: Control cannot fall through from one case to another? Pin
OriginalGriff13-May-09 2:10
mveOriginalGriff13-May-09 2:10 
GeneralRe: Control cannot fall through from one case to another? Pin
PIEBALDconsult13-May-09 3:38
mvePIEBALDconsult13-May-09 3:38 
GeneralRe: Control cannot fall through from one case to another? Pin
molesworth13-May-09 4:29
molesworth13-May-09 4:29 
AnswerRe: Control cannot fall through from one case to another? [modified] Pin
Paulo Zemek13-May-09 3:38
mvaPaulo Zemek13-May-09 3:38 
GeneralRe: Control cannot fall through from one case to another? [modified] Pin
Paulo Zemek13-May-09 3:45
mvaPaulo Zemek13-May-09 3:45 
GeneralRe: Control cannot fall through from one case to another? Pin
Luc Pattyn13-May-09 3:46
sitebuilderLuc Pattyn13-May-09 3:46 
GeneralRe: Control cannot fall through from one case to another? Pin
Paulo Zemek13-May-09 3:51
mvaPaulo Zemek13-May-09 3:51 
GeneralRe: Control cannot fall through from one case to another? Pin
OriginalGriff13-May-09 5:57
mveOriginalGriff13-May-09 5:57 
AnswerRe: Control cannot fall through from one case to another? Pin
Lutosław13-May-09 8:38
Lutosław13-May-09 8:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.