示例#1
0
文件: Ex002.cs 项目: zeple/BOOKS
        public void Run()
        {
            Car002 car = new Car002();

            car.Size  = "세단";
            car.Color = "하얀";

            Console.WriteLine("고객님의 차, {0} {1}이...", car.Color, car.Size);
            car.Engine_on();
            car.Go();
            car.Back();
            car.Left();
            car.Right();
            car.Engine_off();
        }
示例#2
0
文件: Ex002.cs 项目: Myohalang/q
        public void Run()
        {
            Car002 car = new Car002();

            car.Size  = "세단";
            car.Color = "하얀";

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

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