title: Problem with Bitwise Barrel Shift Rotate left and right in C#
body: <p>In C++ I have code like this.</p>
  
  <pre><code>    static UInt32 rol(UInt32 value, UInt32 bits)
      {
          bits &amp;= 31;
          return ((value &lt;&lt; bits) | (value &gt;&gt; (32 - bits)));
      }
  
      static UInt32 ror(UInt32 value, UInt32 bits)
      {
          bits &amp;= 31;
          return ((value &gt;&gt; bits) | (value &lt;&lt; (32 - bits)));
      }
  </code></pre>
  
  <p>how would it look in C#? I think the same exact way.. only problem</p>
  
  <blockquote>
    <p>Error 2   Operator '>>' cannot be applied to operands of type 'uint' and 'uint'<br>
    Error   3   Operator '>>' cannot be applied to operands of type 'uint' and 'uint'<br>
    Error   1   Operator '&lt;&lt;' cannot be applied to operands of type 'uint' and 'uint'<br>
    Error   4   Operator '&lt;&lt;' cannot be applied to operands of type 'uint' and 'uint'</p>
  </blockquote>