title: Is BitArray faster in C# for getting a bit value than a simple conjuction with bitwise shift?
body: <p>1). <code>var bitValue = (byteValue &amp; (1 &lt;&lt; bitNumber)) != 0;</code></p>
  
  <p>2). using <a href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.bitarray" rel="noreferrer"><code>System.Collections.BitArray</code></a> with a <a href="https://docs.microsoft.com/en-us/dotnet/api/system.collections.bitarray.get" rel="noreferrer"><code>Get(int index)</code></a> method</p>
  
  <ul>
  <li>What is faster?</li>
  <li>In what situations for the .NET projects <strong>BitArray</strong> could be more useful than a simple conjunction with the bitwise shift?</li>
  </ul>