Can you write if ( (x && y) || y || z) { do this;}? : <p>Newbie question: In C#, how do I put a set of conditions, and one of them must be two values or conditions that are true together, not just one of them. For example, is the following valid syntax:</p>

<pre><code>if ( (x &amp;&amp; y) || y || z) { do this;}
</code></pre>
