|
|
От: |
Qbit86
|
https://twitter.com/qbit86 |
| Дата: | 24.08.23 13:57 | ||
| Оценка: | +1 | ||
The new constraint specifies that a type argument in a generic class or method declaration must have a public parameterless constructor.
— https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/new-constraint