Login
ИИ для программиста?
167385 просмотров
Перейти к просмотру всей ветки
in Antwort 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.
Zurück