public static void test_2() { Car_1 obj = new Car_1("BMW", 45, "Blue"); obj.Accelerate(10); Console.ReadLine(); }
public static void test_1() { Car_1 obj = new Car_1("Frank", 55, "Red"); //Console.WriteLine("Name:{0} Speed:{1} Color:{2}",obj.PetName,obj.Speed,obj.Color); obj.DisplayStats(); Console.ReadLine(); }