title: How to read a specific line from a .txt file in VB.net
body: <p>I am currently trying to create a vocabulary testing program. What I am really trying to do is get the program to generate a random number, and get the program to choose a line of text from a <strong>.txt</strong> file corresponding to the random number.</p>
  
  <p>I've managed to get the random number to work, but I have no idea how to read a specific line from the <strong>.txt</strong> file.</p>
  
  <p>I'm fairly proficient with <code>My.Computer.FileSystem.ReadAllText(filename, text, etc)</code>, but I can't seem to find any way of achieving my goal with it.</p>
  
  <p>If you can help, it would be preferable if the solution could avoid <code>StreamReader</code>.</p>
  
  <p>I would include some code, however its only a few lines long and contains only the random generator, so is pretty self explanatory.</p>