title: C# Windows Forms - Weird multiline textbox behaviour
body: <p>I am using a <code>StringReader</code> to read input from a multi-line textbox. However, I am experiencing strange behaviour.<br/>
  My Code:</p>
  
  <pre><code>string x = reader.ReadLine();
  int y = int.Parse(x);
  </code></pre>
  
  <p><code>x</code> is always an int.<br/>
  My problem is that since <code>x</code> is the first line of the multiline textbox, it doesn't contain just the int, but <code>System.Windows.Forms.Textbox, Text:10</code><br/>
  Any help here?</p>
  
  <p>I create the <code>StringReader</code> as following:</p>
  
  <pre><code>using (StringReader reader = new StringReader(Convert.ToString(multilinetbox)))
  {
  
  }
  </code></pre>