//******************************************* //uSer interfaernece to addcar //******************************************* public void AddCar() { Console.Write("Enter Car Brand:"); string brand = Console.ReadLine(); Console.Write("Enter Car Model:"); string model = Console.ReadLine(); Console.Write("Enter Car Registration Plate No:"); string plate = Console.ReadLine(); Console.Write("Enter Car Engine No:"); string Engine = Console.ReadLine(); Console.Write("Enter Car purchase Price:"); float PurchasePrice = float.Parse(Console.ReadLine()); Console.Write("Enter Car sale Price:"); float saleprice = float.Parse(Console.ReadLine()); Car c = new Car(brand, model, plate, Engine, PurchasePrice, saleprice); d.AddCar(c); }