Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var vehicle = new Vehicle() { Wheels = 5 };
            var bike = new Bike() { Wheels = 2, Spokes = 32 };
            var car = new Car() { Wheels = 4, HorsePowers=205, Engien=true };

            vehicle.PrintVehicle();
            bike.PrintVehicle();
            car.PrintVehicle();

            Console.WriteLine(bike.ToString());
        }