Esempio n. 1
0
        static void Main(string[] args)
        {
            Car myCar = new Car();

            myCar.Model = "Audi";
            myCar.Year  = 2000;
            Console.WriteLine("Model: {0} \nYear : {1} ", myCar.Model, myCar.Year);
            Console.WriteLine("Car Market Value is {0:C}", myCar.DetermineCarMarketValue());
            Console.ReadLine();
        }