Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 20, 2007 06:15 AM by sanjeev_asp.net
Feb 19, 2007 05:54 PM|LINK
I know what the ToString() method does, but what is the "x2" argument all about?
I've seen this in a code sample where they were converting from a byte to a string and I assume that the "x2" is just a format for the string, but not sure exactly what it is or what it does?
Feb 19, 2007 06:33 PM|LINK
"X2" here is the hexadecimal format specifier. Refer to this article for details on format specifiers:
Hope this helps,
Feb 20, 2007 06:15 AM|LINK
I think lot of people doesn't know about this.