[ACCEPTED]-what does format {0:x} mean?-c#
Accepted answer
It means format the first argument (index 1 0) as hexadecimal: http://msdn.microsoft.com/en-us/library/s8s7t687(v=vs.80).aspx
It means the first argument will be output 4 as hexadecimal (in lowercase !!). To output 3 uppercase you could use "{0:X}".
Look 2 msdn for more info about string formatting 1 : MSDN Custom string format
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.