Вход на сайт
ИИ для программиста?
166949 просмотров
Перейти к просмотру всей ветки
в ответ alex445 05.05.25 21:07
Я говорю про кортежные типы, а не про кортежи.
А что в ответе принципиально неправильного? Ну и говорить нужно более чётко.
ValueTuple (the tuple type) does not require the new keyword because it has special syntax for initialization. Unlike Tuple, which is a reference type and requires explicit instantiation using new, ValueTuple is a value type and can be created directly using parentheses.
Назад