need help with string format

M

mdnightman

How do I convert an integer to a hex string in this format

0x0000f8a2 (exactly 8 digit after 0x)

myInteger.ToString("what should I put in here?")

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top