title: Write bytes to file
body: <p>I have a hexadecimal string (e.g <code>0CFE9E69271557822FE715A8B3E564BE</code>) and I want to write it to a file as bytes. For example,</p>
  
  <pre><code>Offset      0  1  2  3  4  5  6  7   8  9 10 11 12 13 14 15
  00000000   0C FE 9E 69 27 15 57 82  2F E7 15 A8 B3 E5 64 BE   .þži'.W‚/ç.¨³åd¾
  </code></pre>
  
  <p>How can I accomplish this using .NET and C#?</p>