Change:
for (int i = 0; i > cars.Count; i++)
To:
for (int i = 0; i < cars.Count; i++)
solved Searching for a String in a text file
Change:
for (int i = 0; i > cars.Count; i++)
To:
for (int i = 0; i < cars.Count; i++)
solved Searching for a String in a text file