What does new() mean?

It’s the new constraint.

It specifies that T must not be abstract and must expose a public parameterless constructor in order to be used as a generic type argument for the AuthenticationBase<T> class.

Leave a Comment