示例#1
0
        static void Main(string[] args)
        {
            Car               initCar      = Car.Init();
            CarSalesBook      carSalesBook = new CarSalesBook();
            CarDataFileReader cdfr         = new CarDataFileReader();
            var               cars         = cdfr.top3Sales();

            foreach (var car in cars)
            {
                Console.WriteLine(car);
            }
            Console.ReadLine();
        }
 public CarQuerries()
 {
     carList = CarDataFileReader.ReadCarsFromCSVFile().ToList();
 }