Я пробовал использовать метод ниже: но мне все равно не удается добиться результата.
Код: Выделить всё
if (Place == "" || Place != "R" || Place != "U")
{
response.Status = "FAILURE";
response.Message = "Place Criteria is required / Invalid (place should be either R(rural)/U(urban)";
}
Подробнее здесь: https://stackoverflow.com/questions/633 ... in-c-sharp
Мобильная версия