Friday, November 13, 2009

C# - Convert Int to Hex String

To convert Integer to Hex String and visa versa is simple

Integer to Hex

int a = 1;
String hex = a.ToString("X");

Hex to Integer

int a = int.Parse(hex,

No comments:

Post a Comment

Windows 7 - How to reset Windows 7 password

This is just a post of what I had found in the Internet and it works for me (See reference for the actual post). While I knew that there a...