How to handle multiple values inside one case
? So if I want to execute the same action for value "first option"
and "second option"
?
Is this the right way?
switch(text)
{
case "first option":
{
}
case "second option":
{
string a="first or Second";
break;
}
}