private static List <Car> ProcessCars(string path) { var cars = File.ReadAllLines(path) .Where(line => line.Length > 1) .Skip(1) .Select(Car.ParseFileToCar) .ToList(); var carq = from line in File.ReadAllLines(path).Skip(1) where line.Length > 1 select Car.ParseFileToCar(line); cars = carq.ToList(); return(cars); }