title: Codedom generate complex if statement
body: <p>I'm a bit stuck with try to generate a complex if statement like the one below</p>
  
  <pre><code>if (class1.Property == class2.Property || (class3.Property &amp;&amp; class4.Property))
  {
    //do something
  }
  else
  {
     //do something else
  }
  </code></pre>
  
  <p>By using the CodeConditionStatement class I can generate the first condition above but I can not seem to find a way to add the second condition especially with the needed brackets and the way if will be evaluated at runtime?</p>
  
  <p>Note: I do not want to use the CodeSnippetExpression class.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks in advance.</p>