C#计算字符串 var expression=“1+2*(2+3)”; object result = new DataTable().Compute(expression, ""); //返回object 可以转换