It's just a simple code but I don't know where I'm missing quotations or etc
My error lies here: case "000\";
Any help is appreciated! Thanks!
MatchCollection matches1 = Regex.Matches(strFields[3], @"\d{3}\\");
string range = matches1[0].Value;
switch (range)
{
case "000\";
strAdType += "A";
break;
case "001\":
strAdType += "B";
break;
case "002\":
strAdType += "C";
break;
case "003\":
strAdType += "D";
break;
case "004\":
strAdType += "E";
break;
}