Is there a way to test if T inherits/implements a class/interface?
private void MyGenericClass () { if(T ... inherits or implements some class/i
You can use constraints on the class.
MyClass where T : Employee
Take a look at http://msdn.microsoft.com/en-us/library/d5x73970.aspx