我想干燥我的代码并执行以下操作:
dim methodNames() as String
methodNames(1) = "MethodName1"
methodNames(2) = "MethodName2"
...
for each method in methodNames
some wrapper syntax that includes
"call method" and is independent of the method
...
next
这有可能吗?只是我想不让我每次都复制+粘贴语法。
许多问候, 彼得