title: How can I convert BitArray to single int?
body: <p>How can I convert <a href="https://msdn.microsoft.com/en-us/library/system.collections.bitarray(v=vs.110).aspx" rel="noreferrer"><code>BitArray</code></a> to a single <code>int</code>?</p>