KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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?
Tags (comma-separated)
Save Edits
Cancel