title: Make user script own code that interacts with own application using C#
body: <p>I'm building an application where you can create and draw graphs and trees using C# and .NET. Additionally, you can display some properties of that graph such as number of components or number of circles etc.</p>
  <p>Besides the own methods I put into the application, I want to give the user the possibility to write his own code that calculates own porperties of the graph, maybe for example the shortest path or stuff like this. Then I want those properties to be implemented in the application and to be displayed and properly calculated just like my own properties.</p>
  <p>Which language the user can use doesn't matter for now, though JavaScript would be ideal.</p>
  <p>Is there any way to do that? Maybe there are any frameworks that interpret that language at the same time and transfer the calculated data to my application.</p>
  <p>I'd appreciate every answer or hint, if needed, I'll also provide you more information.</p>
  <p>Thank you!</p>
  <p>Julian</p>