동적 메서드 호출
using System; using System.Reflection; namespace DynamicMethodCall { class A { public void Method1() { Console.WriteLine("Class A, Method 1"); } public void Method2() { Console.WriteLine("Class A, Method 2"); } } class TestMain { [STAThread] static void Main(string[] args) { string methodName = ""; A a = new A(); while (methodName != "exit") { Console.Write("Method name(exit: type 'exit'): "); m..