How to read from a specific position from a text file in c#?

For example I have this text file named "vehicles". The program asks the user his name and then user selects a vehicle he wants to buy and the details are saved in the file along with the buyer's name in two consecutive lines. Example.

John Carpenter
Suzuki Vitara

Chris Woakes
Honda Civic

Now what I want to do is that when the user enters his name, if the name is located in the file, the program should print the details of the vehicle on the very next line of that name. For example:
Enter your name: John Carpenter

output: Suzuki Vitara

Is there any way I could achieve this? I'm using visual studio 2012 by the way.

Usually, you would just read every line, check every other (or every third) line for the name, and then retrieve the following line.

That is NOT reading from a specific position in the file.

Note: I'm not sure if you gave 2 different examples of possible files, or if the user is a guy who works at the car lot and he's entering the names and cars of a bunch of customers -- not his own name. In other words, is there just one pair in the file or many pairs? The user only has one name.

But your problem is not how to read 'specific' lines from a text document… It's how to detect where the user line is in the document… How do you know what line to read from? This is not necessarily the best way to read data my friend… You may want to try a csv instead… With the method you have now, you'll have to read each line… You could just listen for every 3rd line and if it matches the user's name, pull the next line… But you're better off with maybe a Dictionary<string, string>. Json could work… Xml could work…