Possible Duplicate:
C# eval equivalent?
Hi - I was wondering how I can execute a user provided string containing c# code from my application.
Example:
string userProvidedString = "Console.Write("Hello World!")";
ExecuteCode(userProvidedString); // Should output Hello World!