class Abc {
public Mycollection<Person> Persons { get;set; }
}
class MyCollection<T> : ICollect<T> { ... }
I'm using reflection, getting the PropertyInfo of ABC.Persons.
I want to know if the PropertyInfo is of ICollect<> type - how do I do that?