Possible Duplicate:
How do you convert Byte Array to Hexadecimal String, and vice versa, in C#?
Convert hex string to byte array
If I hav a string representation of a byte eg
6C
How can I write that byte value to a file with WriteByte(6C)
or something? I know how to use WriteBytes(byte[])
I just dont know how to do it when there is one byte and origionally it is hex string?