title: c# execute a string as code
body: <p>Here is what i want to do, and i know it is possible with perl, php, python and java, but i am working with c#</p>
  
  <p>how can i do the following:</p>
  
  <pre><code>public void amethod(string functionName)
  {
      AVeryLargeWebServiceWithLotsOfMethodsToCall.getFunctionName();
  }
  </code></pre>
  
  <p>I want to pass the functionName to the method and I want it to be executed as above.</p>
  
  <p>How this can be done?</p>
  
  <p>Do i need ANTLR or any other tool for this?</p>
  
  <p>Thanks.</p>