If I have the following code:
MyType<int> anInstance = new MyType<int>(); Type type = anInstance.GetType();
How can I find out which type argument(s) "anInstance" was instantiated with, by looking at the type variable? Is it possible?