public void Compute(char @operator, int operand) { var command = new CalculatorCommand(calculator, @operator, operand); command.Execute(); commands.Add(command); current++; }