I'm doing some Pluralsight training. The instructor specified several function declarations in an interface, one of which looks like this:
void Add<T>(T entity) where T : class;
So generics are being used, the data type is of type "T", it's declaring a parameter named "entity" which is of type T. What I don't understand if the clause:
"where T : class"
What does that mean?