Last post Feb 20, 2007 07:15 AM by sanjeev_asp.net
Feb 19, 2007 06:54 PM|BurritoSmith|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 07:33 PM|vivek_iit|LINK
"X2" here is the hexadecimal format specifier. Refer to this article for details on format specifiers:
Hope this helps,
Feb 20, 2007 07:15 AM|sanjeev_asp.net|LINK
I think lot of people doesn't know about this.