protected static string esArithmeticOperatorToString(tgArithmeticOperator arithmeticOperator) { switch (arithmeticOperator) { case tgArithmeticOperator.Add: return(" + "); case tgArithmeticOperator.Subtract: return(" - "); case tgArithmeticOperator.Multiply: return(" * "); case tgArithmeticOperator.Divide: return(" / "); case tgArithmeticOperator.Modulo: return(" % "); default: return(""); } }
protected static string esArithmeticOperatorToString(tgArithmeticOperator arithmeticOperator) { switch (arithmeticOperator) { case tgArithmeticOperator.Add: return " + "; case tgArithmeticOperator.Subtract: return " - "; case tgArithmeticOperator.Multiply: return " * "; case tgArithmeticOperator.Divide: return " / "; case tgArithmeticOperator.Modulo: return " % "; default: return ""; } }