title: running external C# file in a program
body: <p>Does the .NET framework have any classes which allow you to run (compile, interpret or whatever) an external script file containing C# code?</p>
  
  <p>For instance, if I have a file <code>Hello.cs</code> containing this:</p>
  
  <pre><code>class Hello
  //This program displays Hello World
  {
      static public void Main()
      {
          System.Console.WriteLine("Hello World");
      }
  }
  </code></pre>
  
  <p>how can i load the code above, from within a winform, app and execute it?</p>
  
  <p>I'm interested in the load/execute logic; the program could be anything, from a console app to another winform app.</p>
  
  <p>Does Reflection allow this?</p>