title: How to check for empty textbox
body: <p>On a site I found the <code>TryParse</code> method (how to check if there is a empty textbox in C#) but I don't know how to use it.</p>
  
  <pre><code>int outputValue=0;
  bool isNumber=false;
  isNumber=int.TryParse(textBox1.Text, out outputValue); 
  if(!isNumber)
  {
   MessageBox.Show("Type numbers in the textboxes");
  }
  else
  {
  // some code
  }
  </code></pre>
  
  <p>and how can i solve this for 1+ number of textboxes</p>