A
Adam Clauss
So, we can use the new() constraint to specify that a given type must have a
parameterless constructor.
Why can't we say something like new(string) to specify that it must have a
parameter taking a single string? If we can do one, why not the other?
parameterless constructor.
Why can't we say something like new(string) to specify that it must have a
parameter taking a single string? If we can do one, why not the other?