title: Filestream prepends junk characters while read
body: <p>I am reading a simple text file which contains single line using filestream class. But  it seems filestream.read prepends some junk character in the beginning. </p>
  
  <p>Below the code.</p>
  
  <pre><code>using (var _fs = File.Open(_idFilePath, FileMode.Open, FileAccess.ReadWrite, FileShare.Read))
  {
       byte[] b = new byte[_fs.Length];
       UTF8Encoding temp = new UTF8Encoding(true);
       while (_fs.Read(b, 0, b.Length) &gt; 0)
       {
           Console.WriteLine(temp.GetString(b));
           Console.WriteLine(ASCIIEncoding.ASCII.GetString(b));
  
  
       }
   }
  </code></pre>
  
  <p>for example: My data in text file is just "sample". But the above code returns</p>
  
  <pre><code>  "?sample" and
    "???sample"
  </code></pre>
  
  <p>Whats the reason?? is it start of the file indicator? is there a way to read only my actual content??</p>