Код: Выделить всё
if (!Smc.StartsWith("V") || !Smc.StartsWith("S"))
{
RetStr = "1:Invalid String";
return RetStr;
}
Подробнее здесь: https://stackoverflow.com/questions/252 ... th-s-and-v
Код: Выделить всё
if (!Smc.StartsWith("V") || !Smc.StartsWith("S"))
{
RetStr = "1:Invalid String";
return RetStr;
}