title: Loop till end of file VB.NET
body: <p>I have a file containing the first name, second name and age of a person:</p>
  
  <pre><code>John, Smith, 35
  Andrew, Jacobs, 52
  </code></pre>
  
  <p>I have split up the first name, second name and age and put them into arrays.</p>
  
  <p>Becuase I know that there are 2 people (I set the array size to 1) , I am using the following 'for' loop:</p>
  
  <pre><code>For x = 0 to 1
  textbox1.text = textbox1.text + first_name(x)
  Next
  </code></pre>
  
  <p>I want to change this to the following:</p>
  
  <pre><code>For x = 0 to however long the file is
  textbox1.text = textbox1.text + first_name(x)
  Next
  </code></pre>
  
  <p>However, when I try to use 0 to first_name.length it doesn't work.</p>