mardi 8 septembre 2015

How Get type from String c# [duplicate]

How use reflection to call a method that needs a generic type?

Type MyType = Type.GetType(FromSomewhereElse);
    var TESTE = this.db.GetAll<MyType >(); 





Aucun commentaire:

Enregistrer un commentaire