title: How do I execute a script with Roslyn in End User Preview
body: <p>I'm trying to play around with the end user preview of roslyn and would like to execute a simple script. What I would like to do is something like:</p>
  
  <pre><code>static void Main(string[] args)
  {
      // Is this even valid?
      var myScript = "int x = 5; int y = 6; x + y;";
  
      // What should I do here?
      var compiledScript = Something.Compile(myScript);
      var result = compiledScript.Execute(myScript);
  
  
      Console.WriteLine(result);
  }
  </code></pre>
  
  <p>Can someone point to some resources and/or tell me which nuget packages to install to make this happen. I've installed the Microsoft.CodeAnalysis, but can't figure out if it doable with just that, I feel like I'm missing something.</p>