Hi, How do I write code for a c# app in such a way that it automatically simplifies a given math problem? Like for example, can it automatically simplify 9(6-3) which is 54 - 27 = 27 so that I don't have to manually provide the code saying
if(operator == "-")
{
first - second;
}
else if(operator == "+")
{
first + second;
}
and so on. Instead I just provide "simply(userprovidedvalue)". How do I do that? Is there any way?