Beispiel #1
0
        public void Run()
        {
            Car001 car = new Car001();

            car.setSize("세단");
            car.setColor("하얀");

            Console.WriteLine("고객님의 차, {0} {1}이...", car.getColor(), car.getSize());
            car.Engine_on();
            car.Go();
            car.Back();
            car.Left();
            car.Right();
            car.Engine_off();
        }
Beispiel #2
0
        public void Run()
        {
            Car001 car = new Car001();

            car.setSize("세단");
            car.setColor("하얀");

            WriteLine($"고객님의 차, {car.getColor()} {car.getSize()}이...");

            car.Engine_on();
            car.Go();
            car.Back();
            car.Left();
            car.Right();
            car.Engine_off();
        }