- 878 名前:デフォルトの名無しさん mailto:sage [2015/11/16(月) 15:03:36.05 ID:vMsjPxDw.net]
- Dictionary に入れといて呼ぶとかでいいじゃん、、
まあReflection使えばできる public static void Bb() { Debug.WriteLine("Bb"); } void test() { Type thisType = GetType(); string kansuu = "Bb"; MethodInfo mi = thisType.GetMethod(kansuu); mi.Invoke(null, null); } とか、、、delegateでもいけるかな
|

|