samedi 13 juin 2020

Create a dictionary based on the typename in C#

I have a Type variable - Type t = typeof(myClass);

How can I create a Dictionary - Dictionary<String, myClass> using the type variable t?





Aucun commentaire:

Enregistrer un commentaire