Код: Выделить всё
Type fieldType = typeof(string);
switch(fieldType) {
case typeof(string):
break;
}
CS9135 Ожидается постоянное значение типа «Тип» Eeva
в строке
Код: Выделить всё
case typeof(string):
Использование .NET 8 и Visual Studio 17.11.5
Подробнее здесь: https://stackoverflow.com/questions/791 ... itch-label