Depends on whats more important to you - the bits or the streaming. The bits may be sourced by ado.net or stream and locates the bits. What type of file? More info please. Thanks.
if the file contains all 0 and 1 then you just have to read line by line and with each line, you then read each char.
e.g.
while(!stream.E ndOfStream)
{
string s = stream.ReadLine ();
foreach(char c in s)
arrayOfBit.Add( c);
}
Comment