I\'d like to code a function like the following
public void Foo(System.Type t where t : MyClass) { ... }
In other words, the argument type
You can use the following:
public void Foo(T variable) where T : MyClass { ... }
The call would be like the following:
{ ... Foo(someInstanceOfMyClass); ... }