P
puzzlecracker
I just got this error, without more dissection it appears to be
preposterous for csharp to prevent cases in the switch to fall
through. In my case, I need to be able to fall through as the action
takes is the same for those cases.
Is that a joke?
switch(value)
{
case 1:
case2:
//do something
break;
default:
break
}
why should this fail?
preposterous for csharp to prevent cases in the switch to fall
through. In my case, I need to be able to fall through as the action
takes is the same for those cases.
Is that a joke?
switch(value)
{
case 1:
case2:
//do something
break;
default:
break
}
why should this fail?