Shortest way in C# to write a constant of type "byte" using the bitwise negation operator?
<p>This is a bit of a "soft question", but basically I'm trying to take this pattern that makes use of implicit conversion to byte:</p>

<pre><code>byte x = 0;
x |= 2;       // implicit conversion of "x | 2" to byte here
</code></pre>

<p>and use it for <em>removing</em> bits:</p>

<pre><code>x &amp;= ~2;      // compile error
</code></pre>

<p>The shortest that I could come up with is this:</p>

<pre><code>x &amp;= unchecked((byte) ~2);
</code></pre>

<p>(at which point I start seriously considering just writing <code>x &amp;= 253; // ~2</code> instead... or just the good old explicit cast: <code>x = (byte) (x &amp; ~2);</code>)</p>

<p>Am I missing a shorter way?</p>
