In one of my C# application I use IronPython as a script language. It looks something like this:
string scriptCode = "20 * 5";
ScriptEngine engine = Python.CreateEngine();
ScriptSource source =
engine.CreateScriptSourceFromString(scriptCode , SourceCodeKind.Expression);
Console.WriteLine(source.Execute<int>());
Will I be able to do something similar with C# 4.0? Can I use C# as my scripting language instead of IronPython?