js
Microsoft.JScript.Vsa.VsaEngine vs=Microsoft.JScript.Vsa.VsaEngine.CreateEngine();
MessageBox.Show(Microsoft.JScript.Eval.JScriptEvaluate("Math.sqrt((1+1)*3/7)",vs).ToString());
csharp
string code="using System;\n class demo{public int test=1+2-(5-4);}";
CodeDomProvider csharp=new CSharpCodeProvider();
ICodeCompiler c= csharp.CreateCompiler();
CompilerParameters cr=new CompilerParameters();
CompilerResults result=c.CompileAssemblyFromSource(cr,code);
Assembly ass=result.CompiledAssembly;
Type t=ass.GetType("demo");
FieldInfo f=t.GetField("test");
object o=ass.CreateInstance("demo");
MessageBox.Show(f.GetValue(o).ToString());
[url=javascript:alert(1);] [div]fdgfdgfdg\" on\"[/div] [/url]