In this situation I am passing a propertyInfo that I know is an ICollection.
How can get the type of the class that the collection is of?
Type propertyType = propertyInfo.PropertyType; Type collectionType = ????????
Aucun commentaire:
Enregistrer un commentaire