示例#1
0
        static void Main(string[] args)
        {
            Vehicle myV = new Vehicle();

            myV.Price = "200";
            myV.Color = "Blue";
            myV.PrintInfo();

            Car myCar = new Car();

            myCar.Price = "300";
            myCar.Color = "red";
            myCar.Model = "sdasda";
            myCar.PrintInfo();
            //MotorBike bike = new MotorBike();
            //bike.
        }