private TypeOfSign GetTypeOfSign(String currentChar)
{
switch (currentChar)
{
case "(":
return TypeOfSign.OpeningBracket;
case ")":
return TypeOfSign.ClosingBracket;
case "+":
case "-":
return TypeOfSign.AdditionSubtraction;
case "*":
case "/":
return TypeOfSign.MultiplicationDivision;
case "^":
return TypeOfSign.Involution;
default:
return TypeOfSign.Letter;
}
}