using uCalcSoftware; var uc = new uCalc(); // This tests the precedence of power (^), multiplication (*), and addition (+). // The correct evaluation is 5 + (2 * (3^2)) -> 5 + (2 * 9) -> 5 + 18 -> 23. Console.WriteLine(uc.EvalStr("5 + 2 * 3^2"));