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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…