Example #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");

            Car honda = new Car(50.0, 14.1, "Honda Civic", false);

            honda.Describe();

            honda.DriveBackwards(15.0);
        }
Example #2
0
        static void Main(string[] args)
        {
            Car car;

            car = new Car("Red");
            Console.WriteLine(car.Describe());

            car = new Car("Green");
            Console.WriteLine(car.Describe());

            Console.ReadLine();
        }