摘要: Console.WriteLine(Evaluator.Eval("1+2+3+4+5+6+7+8+9"));//45Console.WriteLine(Evaluator.Eval("(1+1)/2*3"));Console.WriteLine(Evaluator.Eval("((10-2)/2+1)*3"));//15usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.CodeDom.Compiler;u 阅读全文
posted @ 2011-07-05 22:21 RobotTech 阅读(2684) 评论(0) 推荐(0) 编辑