SyntaxFix
Write A Post
Hire A Developer
Questions
Try the following:
ToString("X4")
See The X format specifier on MSDN.
X