Click here to Skip to main content
15,907,874 members
Home / Discussions / C#
   

C#

 
GeneralRe: Control cannot fall through from one case to another? Pin
Nagy Vilmos13-May-09 3:23
professionalNagy Vilmos13-May-09 3:23 
GeneralRe: Control cannot fall through from one case to another? Pin
OriginalGriff13-May-09 3:43
mveOriginalGriff13-May-09 3:43 
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 
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 
Computafreak wrote:
You just drop though each case. Why?


This is a state-machine with a selectable first state.
If C# had a "computed goto" (as Fortran has) then the switch would not be necessary.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

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
Paulo Zemek13-May-09 3:38 
GeneralRe: Control cannot fall through from one case to another? [modified] Pin
Paulo Zemek13-May-09 3:45
Paulo 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
Paulo Zemek13-May-09 3:51 

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.