コード例 #1
0
        public Program3()
        {
            MyCar = new Car(true, "Citroen", "Saxo");
            MyLorry = new Lorry(true, "Mercades", "Actros");

            CurrentAutomobile = AutomobileType.Car;
        }
コード例 #2
0
        public Program3()
        {
            MyCar   = new Car(true, "Citroen", "Saxo");
            MyLorry = new Lorry(true, "Mercades", "Actros");

            CurrentAutomobile = AutomobileType.Car;
        }