c#字符串进行四则运算

using System.Data;

object aaa=new DataTable().Compute("8+2*(3+4)", null);

messagebox.show(aaa.tostring());

原文地址:https://www.cnblogs.com/swtool/p/3832409.html