title: How to execute code that is in a string?
body: <p>Say I have something like this:</p>
  
  <pre><code>string singleStatement = "System.DateTime.Now";
  </code></pre>
  
  <p>Is there some way to take <code>singleStatement</code> and parse and run it at run time?</p>
  
  <p>So that:</p>
  
  <pre><code>DateTime currentTime = singleStatement.SomeCoolMethodToRunTheText();
  </code></pre>
  
  <p>would assign the value of <code>DateTime.Now</code> to <code>currentTime</code>.</p>