Код: Выделить всё
if (a is not 1 and not 2)
{
...
}
< /code>
и < /p>
if (a is not 1 and 2)
{
...
}
Подробнее здесь: https://stackoverflow.com/questions/796 ... ot-1-and-2
Код: Выделить всё
if (a is not 1 and not 2)
{
...
}
< /code>
и < /p>
if (a is not 1 and 2)
{
...
}