Calling a function from another namespace from a string C#

前端 未结 0 1502
猫巷女王i
猫巷女王i 2020-12-20 10:12

I know in C# you can call a function from a string by doing so

Type thisType = this.GetType();
MethodInfo theMethod = thisType.GetMethod(TheCommandString);
th         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题