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

C#

 
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 
Oh, dear

  1. Never use goto. It kills babies
  2. You just drop though each case. Why?
  3. You do a switch, when you've just set the variable you switch on
  4. You have one hundred hard-coded cases. Find out how to make that dynamic
  5. The switch is unnecessary. If you're just dropping through, then it won't make any difference
  6. You have basically implemented line labels. Why do you have line labels, when you can refactor your code
  7. No default: option
  8. The first line of is missing a semicolon

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 
QuestionDynamic Property in C# Pin
lnmca12-May-09 22:24
lnmca12-May-09 22:24 
AnswerRe: Dynamic Property in C# Pin
DaveyM6912-May-09 22:50
professionalDaveyM6912-May-09 22:50 
JokeRe: Dynamic Property in C# Pin
Giorgi Dalakishvili12-May-09 23:26
mentorGiorgi Dalakishvili12-May-09 23:26 
GeneralRe: Dynamic Property in C# Pin
DaveyM6913-May-09 2:29
professionalDaveyM6913-May-09 2:29 
QuestionEdit file as Pin
pedersen-roxen12-May-09 21:50
pedersen-roxen12-May-09 21:50 
Questionbackup database from a distant server with sql server 2000 Pin
adsana12-May-09 21:26
adsana12-May-09 21:26 
QuestionDynamically ENUM Pin
lnmca12-May-09 19:13
lnmca12-May-09 19:13 

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.