Let say I have a generic member in a class or method, so:
public class Foo { public List Bar { get; set; } public void Baz() {
If you dont need the whole Type variable and just want to check the type you can easily create a temp variable and use is operator.
T checkType = default(T); if (checkType is MyClass) {}