How to Convert Hex String to Hex Number

rooney picture rooney · Nov 25, 2010 · Viewed 68k times · Source

Possible Duplicate:
How do I convert hex string into signed integer?

example:"3A" convert to 0x3A,thanks a lot!

Answer

crdx picture crdx · Nov 25, 2010
Convert.ToInt32("3A", 16)