Skip to content

Instantly share code, notes, and snippets.

@fekberg
Created September 17, 2012 19:13
Show Gist options
  • Select an option

  • Save fekberg/3739199 to your computer and use it in GitHub Desktop.

Select an option

Save fekberg/3739199 to your computer and use it in GitHub Desktop.
Listing 10.2
var engine = new ScriptEngine();
var session = engine.CreateSession();
var result = session.Execute("var x = 10; x");
Console.WriteLine(result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment