Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Human
- {
- private Assistant assistant;
- public void CallCalculate()
- {
- string expression = "1 + 5 * 8";
- double result = this.assistant.getCalculator().Calculate(expression);
- Console.WriteLine(result);
- }
- }
Add Comment
Please, Sign In to add comment