1
我的方法是這樣的:我可以依次調用這些方法嗎?
string MethodName1() { ... }
string MethodName2() { ... }
...
string MethodNameN() { ... }
,然後創建一個methodList
。
因此我想在循環
List<string> myList = new List<string>();
for(int i=0; i < methodList.count; i++)
{
MyList.Add(methodList[i]);
}
它可以打電話?
你有沒有試過?那有可能嗎? – mins 2015-03-31 05:20:05
這裏的小方面說明,它看起來像一個非常強大的代碼味道給我。您可能想要從源頭解決問題,而不是您的架構。 – 2015-03-31 05:26:12