Can you please explain to me what where T : class, new()
means in the following line of code?
void Add<T>(T item) where T : class, new();
Can you please explain to me what where T : class, new()
means in the following line of code?
void Add<T>(T item) where T : class, new();