Use the dbc Api?
NCalc.Expression expr = new NCalc.Expression("2+2");
string result = expr.Evaluate().ToString(); //CAPTCHA Solved
string result = new System.Data.DataTable().Compute(sum, null).ToString();
Yes you are correct. I won't use any third party library for a simple math operation like this, however i won't use DataTable either, you are instancing a DataTable class with all of its variables, properties and methods, which have no relevance to the Compute method. It is the same as killing a mosquito with a cannon.