KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to know if the type of a property in a class is a generic collection (List, ObservableCollection) using the PropertyInfo class. foreach (PropertyInfo p in (o.GetType()).GetProperties()) { if(p is Collection<T> ????? ) }
Tags (comma-separated)
Save Edits
Cancel