i am trying to use switch case instead of If Else statement, in which i have to first check lentgh of string and as per that i have to make cases of it.
Switch (mystring.lentgh)
{
case <=25:
{
break;
}
case <50
{
break;
}
default:
break;
}
this is some thing i want to do but unable to get how to put "<25" in front of case cuase it is not appropriate as per switch case rules.
thankx in advance.