Exemplo n.º 1
0
        protected static string esArithmeticOperatorToString(esArithmeticOperator arithmeticOperator)
        {
            switch (arithmeticOperator)
            {
            case esArithmeticOperator.Add: return(" + ");

            case esArithmeticOperator.Subtract: return(" - ");

            case esArithmeticOperator.Multiply: return(" * ");

            case esArithmeticOperator.Divide: return(" / ");

            case esArithmeticOperator.Modulo: return(" % ");

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