How to convert bool [] into byte []
<p>I have bool array:</p>

<pre><code>bool[] b6=new bool[] {true, true, true, true, true, false, true, true,
                      true, false, true, false, true, true, false, false };
</code></pre>

<p>How can I convert this into an array of bytes such that</p>

<ul>
<li>byte[0]=0xFB </li>
<li>byte[1]=AC </li>
<li>etc</li>
</ul>
