title: C# if else shortcut
body: <p>In C# how can I express the following if else statement using a shorter method(with ?):</p>
  
  <pre><code> if (condition1 == true &amp;&amp; count &gt; 6)
             {
                 dothismethod(value);
  
             }
             else if (condition2 == false)
             {
  
                 dothismethod(value);
             }
  </code></pre>
  
  <p>My code looks really messy with these statements. Can someone direct me to a good resource on if then else short cut syntax? </p>