title: How to write a hex string as a byte?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/311165/how-do-you-convert-byte-array-to-hexadecimal-string-and-vice-versa-in-c">How do you convert Byte Array to Hexadecimal String, and vice versa, in C#?</a><br>
    <a href="https://stackoverflow.com/questions/321370/convert-hex-string-to-byte-array">Convert hex string to byte array</a>  </p>
  </blockquote>
  
  
  
  <p>If I hav a string representation of a byte eg </p>
  
  <pre><code>6C
  </code></pre>
  
  <p>How can I write that byte value to a file with <code>WriteByte(6C)</code> or something? I know how to use <code>WriteBytes(byte[])</code> I just dont know how to do it when there is one byte and origionally it is hex string? </p>