title: c# How to read and write from multiline textBox line by line?
body: <p>I have a simple program it has a function to read a line  from multiline textBox when i press a button
  what i made to do that is this code :  </p>
  
  <pre><code>TextReader read = new System.IO.StringReader(textBox1.Text);
  int rows = 100;
  
  string[] text1 = new string[rows];
  for (int r = 1; r &lt; rows; r++)
  {
      text1[r] = read.ReadLine();
  }
  </code></pre>
  
  <p>so when click button1 it the code will be like this:</p>
  
  <pre><code>textBox2=text1[1];
  </code></pre>
  
  <p>[1] mean the first line     How can i do it automaticaly by one click ?
    or  with one click  the first line to textBox2
  the second to textBox3  .....ect..</p>
  
  <p>plz i want the code and where i should put it    ^_^ </p>
  
  <p>or if there is another way to do that  </p>