您可以使用反射来标识过程的名称吗?

时间:2019-03-03 18:41:36

标签: c# vb.net

如果以下过程名称更改,我想创建一个编译错误。

MsgBox("We are using ClassA.ProcedureA to help us.")

我想将此转换为:

MsgBox("We are using " & [ReflectionCall(ClassA.ProcedureA)] & "to help us.")

0 个答案:

没有答案