C#: Converting byte array to string and printing out to console
<pre>
public void parse_table(BinaryReader inFile)
{
    byte[] idstring = inFile.ReadBytes(6);
    Console.WriteLine(Convert.ToString(idstring));
}
</pre>

<p>It is a simple snippet: read the first 6 bytes of the file and convert that to a string.</p>

<p>However the console shows <code>System.Byte[]</code>.</p>

<p>Maybe I'm using the wrong class for conversion. What should I be using? It will eventually be parsing filenames encoded in UTF-8, and I'm planning to use the same method to read all filenames.</p>
