Execute a function/method digited by the user
<p>I want to know, if in the .net have a class to call a function/method in run time...</p>

<p>e.g:</p>

<p>Enter with a method name to call: sum(10,20) </p>

<p>The code sample, of my Ideia is something like this:</p>

<pre><code>class Program
{
    static void sum(int a, int b)
    {
        Console.WriteLine("{0}", a + b);
    }

    static void Main(string[] args)
    {
        Console.Write("Enter with a method name to call: ");
        string a = Convert.ToString(Console.ReadLine());

        // SAMPLE OF IDEA
        ProcessMacro PrM = new ProcessMacro(a);
    }
}
</code></pre>

<p>So, It's possible to do this ?
If yes, how I can do this ?</p>

<p>Thanks.</p>
