Ho to get object by name using reflection? E.g.,
class MyClass {}
MyClass obj = new MyClass();
var tmp = FunctionToGetObjectByItsName("obj");
How to get obj
using reflection?
The thing is I want to call method (invoke) and I need somehow to get object by it's name.
Aucun commentaire:
Enregistrer un commentaire