SyntaxFix
Write A Post
Hire A Developer
Questions
int to hex:
int a = 72; Console.WriteLine("{0:X}", a);
int a = 72;
Console.WriteLine("{0:X}", a);
hex to int:
int b = 0xB76; Console.WriteLine(b);
int b = 0xB76;
Console.WriteLine(b);