title: C# Get TextBox Entry in other forms
body: <p>I have 2 forms...and the textbox in the other form</p>
  <ul>
  <li>how can I get the typed text from the other form ?</li>
  <li>I tried this but it gives error.</li>
  <li>List item</li>
  </ul>
  <pre><code>var mainForm = Application.OpenForms.OfType&lt;Form1&gt;().Single();
  mainForm.URL_BOX.Text();
  </code></pre>
  <p><a href="https://i.stack.imgur.com/utf4D.png" rel="nofollow noreferrer">The Error</a></p>