How to check multiple condition for string data type using IF statement using && operator
<p>Anyone please help me, my problem is this 
i want to check in c#, more textbox values conditions using 'if' statement like this,</p>

<pre><code>  if(txtbox1.Text == "" &amp;&amp; txtbox2.Text == "" &amp;&amp; ...&amp;&amp;txtboxN.Text =="")
  {
    MessageBox.Show("Please enter the details");
    return;
  }
</code></pre>

<p>but when i use more condition it is not taking the 'second' and others conditions..
what is the solution for this?</p>
