title: Most efficient way to see if any of textBoxes are empty C#
body: <p>I have a webform that can have multiple text boxes.</p>
  
  <p>Lets say 3: txt1 txt2 txt3 </p>
  
  <p>obviously I can write the following code:</p>
  
  <pre><code>bool atleastOneTextboxEmpty=false;
  
  If (txt1.Text.Tostring().Trim()=="")
  {
  atleastOneTextboxEmpty=true;
  }
  If (txt2.Text.Tostring().Trim()=="")
  {
  atleastOneTextboxEmpty=true;
  }
  If (txt3.Text.Tostring().Trim()=="")
  {
  atleastOneTextboxEmpty=true;
  }
  </code></pre>
  
  <p>But i'm pretty sure there is a better way to do this( but so far I was not able to find it).</p>
  
  <p>Note:
  In my case I'm not allowed to use required field validators and form may have more textboxes which some of them are allowed to be empty(so I can't loop though all form textboxes).</p>