convert byte to binary
<p>I have FLY file I stored it to byte array and I can read it byte by byte.
I want to convert each byte to binary 0s and 1s </p>

<p>I want to convert variable b to binary 1s 0s. for example if b = 70 how to convert it to binary</p>

<p>what function I can use in C# to do this??</p>

<p>here is my code to read FLY file and store it byte array.</p>

<pre><code>byte[] myArray = System.IO.File.ReadAllBytes(@"myFlvFile.flv");

int r = 0;
foreach (var b in myArray)
{
  r += 1;
  txtBit.Text = Environment.NewLine + Convert.ToString(b);

  if (r == 50)
    return;
}
</code></pre>
