title: Bitwise '&' operator on uint
body: <p>I need to perform a bitwise '&amp;' operation on a value of type <code>uint</code>. </p>
  
  <pre><code>enum MsgType : ulong
  {
  Begin = 0x00000001,
  }
  
  unit number= 0x00000002;
  
  if (number &amp; MsgType.Begin == MsgType.Begin)
  </code></pre>
  
  <p>//Not working </p>
  
  <p>It is giving an error: </p>
  
  <pre><code>Operator '&amp;' cannot be applied on operands of type 'uint' or 'bool'
  </code></pre>
  
  <p>How to cast it?</p>