Пример #1
0
        private static void ExecuteOptionInteractive()
        {
            var numbers = ui.ReadNumbers();
            var result  = Interactions.Add(numbers.Item1, numbers.Item2);

            PrintMessage(result);
        }
Пример #2
0
        private static void ExecuteOptionAdd(int x, int y)
        {
            var result = Interactions.Add(x, y);

            PrintMessage(result);
        }