example
int i = 1;
switch (i)
{
case 0: MessageBox.Show("Hello, this is 0"); break;
case 1:
case 2: MessageBox.Show("Hello, this is 1 and 2 block"); break;
}
or use some trick like below...
e.g.
Switch (Math.Floor((mystring.lentgh - 1)/25))
{
case 0:
{
break;
}
case 1:
{
break;
}
default:
break;
}
Happy Coding!
:)