예제 #1
0
 private static void StartOperations(HoldingPen pen)
 {
     string input = Console.ReadLine();
     while (input != "end")
     {
         pen.ParseCommand(input);
         input = Console.ReadLine();
     }
 }
예제 #2
0
        private static void StartOperations(HoldingPen pen)
        {
            string input = Console.ReadLine();

            while (input != "end")
            {
                pen.ParseCommand(input);
                input = Console.ReadLine();
            }
        }
예제 #3
0
        static void Main(string[] args)
        {
            HoldingPen pen = InitializePen();

            StartOperations(pen);
        }
예제 #4
0
        public static void Main()
        {
            HoldingPen pen = InitializePen();

            StartOperations(pen);
        }