!= operator condition usage in c# : <p>I know that in C++ you can do this kind of declarations:</p>

<pre><code>size = 8 * (x % 8 != 0);
</code></pre>

<p>What would be the equivalent in C#? Do I have to use an "if"? Thanks for the help!</p>
