title: Does C# Scripting API support parameter interpolation?
body: <p>E.g., I have a code snippet like this:</p>
  
  <pre><code>string id = {id};
  State state = State.observed;
  HttpWebResponse response = proxyClient.ChangeState(id, state);
  if (response.StatusCode != HttpStatusCode.OK)
  {
      // handling error
  }
  </code></pre>
  
  <p>I want to interpolate the <code>{id}</code> to a real value in runtime before handing it to <code>CSharpScript</code>, I dont want to define a <code>Global</code> class to encapsulate all parameters like example code shows, can I do that? Must I wrap the snippet in a C# function? 
  My second question is, the <code>ChangeState</code> function resides in another assembly, how to tell C# scripting API to load that assembly?</p>
  
  <p>Edit: The story behind this a little odd question is, I am developing a workflow like application, and I want to create an activity class can take a piece of C# code from configuration file and run it, but the code usually need input arguments which values are only determined from parent activity, for now all input arguments are strings.</p>