title: Should I be able to bit-shift >> a byte array?
body: <p>I am trying to understand why BigInteger is throwing an overflow exception.  I tried to visualize this by converting the BigInteger to a <code>byte[]</code> and iteratively incrementing the shift until I see where the exception occurs.</p>
  
  <ul>
  <li>Should I be able to bit-shift >> a byte[], or is C# simply not able to?</li>
  </ul>
  
  <p><strong>Code causing an exception</strong></p>
  
  <pre><code>        uint amountToShift2 = 12;
          BigInteger num = new BigInteger(-126);
          uint  compactBitsRepresentation = (uint)(num &gt;&gt; (int)amountToShift2);
  </code></pre>