title: How do I convert a binary file to a byte array?
body: <p>Given the path of a file (e.g. "C:\MyPicture.jpg"), how do I convert a binary file into a byte array?</p>
  
  <p>I know I have a lot of .NET objects at my disposal, such as <code>BinaryReader</code>, <code>FileStream</code>, <code>StreamReader</code>, and others, but I'm not sure of the best method to take a binary file and convert it into <code>byte[]</code>.  How might this be accomplished?</p>