I need to convert an integer number to the hex value. It will look like this:
0x0201cb77192c851c
When I do
string hex = int.ToString("x")
in C#, it returns
201cb77192c851c
How can I get the required result?
See Question&Answers more detail:os