Methods

void Method<T>(T param); // basic usage
void Method<T>(T param) where T : BaseClass // narrow down the type of `T`

Class

class SomeClass<T> where T : BaseClass