vendredi 8 juillet 2016

Convert Type object to Type of List

Considering I have the following:

Type objectType = typeof(A);

How can I convert objectType to collectionType? Knowing that collectionType represents the following:

Type collectionType = typeof(IList<A>);





Aucun commentaire:

Enregistrer un commentaire