KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Generic list: var elementType1 = typeof (List<A>).GetElementType(); Array: var elementType = typeof (A[]).GetElementType(); Why do I only get the element type of an array? How could I get the element type of a generic list? (remark: the generic list is boxed)
Tags (comma-separated)
Save Edits
Cancel