摘要:
1 . 新建文本JSCaller.js内容如下class JSCaller { function Eval(expression: String) {return eval(expression, "unsafe");} } 2. 打开.net的命令行窗口。运行jsc /t:library C:\JSCaller .js 得到JSCaller.dll3.在c#项目中引用JSCaller.dll 和... 阅读全文
小寒的blog
Programming is a darned hard thing—but I am going to like it. |