Executing code at runtime

Is there a way to execute code at runtime? E.g. C# or javascript or Python code (or any other language for that matter) that user has inputted?

EDIT I am talking about a standalone executable and not for mobile or web. Also I would like to get the results or output of that code , not just execute it

I’ve been looking for the same solution too. So far the only way seems work would be using Lua with interpreters like MoonSharp or Nlua in Unity. Though I really don’t like that language. But it works.

Hi, I used the ICodeCompiler of Aeroson for create and compile script that user has inputted. Here the link: