The string representation of the value of this instance, which consists of a sequence of digits ranging from 0 to 9, without a sign or leading zeros.
The ushort.ToString method formats a ushort value in the default ("G", or general) format by using the System.Globalization.NumberFormatInfo object of the current culture. If you want to specify a different format or culture, use the other overloads of the ushort.ToString(string) method, as follows:
Default ("G") format |
A specific culture | |
A specific format |
Default (current) culture | |
A specific format |
A specific culture |