Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Car myNewCar = new Car();

            myNewCar.Color = "Silver";
            myNewCar.Make  = "BMW";
            myNewCar.Model = "idk";
            myNewCar.Year  = 1900;

            Console.WriteLine("{0} - {1} - {2}", myNewCar.Color, myNewCar.Model, myNewCar.Make);
            //Console.WriteLine(myNewCar);

            //double marketValue = determineMarketValueOfCar(myNewCar);
            //Console.WriteLine(marketValue);

            Console.WriteLine("Car Value : {0}", myNewCar.marketValueOfCar());
            Console.ReadLine();
        }