String ClassName = "MyClass"
String MethodName = "MyMethod"
I would like to achieve:
var class = new MyClass;
MyClass.MyMethod();
I saw some e.g. with reflection , but they only show , either having a method name as string or class name as string, any help appreciated.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…