Thursday, May 07, 2009

Convert Int to Hex in C Sharp

int x = 8005;

Console.WriteLine(String.Format("{0:x}", x));

No comments: