title: The correct way to create Binary files in C#
body: <p>I'm using the below code to create a <code>Binary</code> file.</p>
  
  <pre><code>var a = new[]
  {
      "C50-12-25",
      "C50-12-20"
  };
  
  using (var bw = new BinaryWriter(File.Open("file.bin", FileMode.Create)))
  {
      foreach (var i in a)
      {
          bw.Write(i);
      }
  }
  </code></pre>
  
  <p>I opened the file and I'm not seeing something that resembles a picture like this which I always thought a <code>Binary</code> file would look like.</p>
  
  <p><a href="http://www.dotnetperls.com/binary.png" rel="nofollow">http://www.dotnetperls.com/binary.png</a></p>
  
  <p>I'm actually able to read the complete text I have written.</p>
  
  <pre><code>C50-12-25   C50-12-20
  </code></pre>
  
  <p>So is this it? I'm completely new to this so any help to point me in correct direction will be a lot to me.</p>