| UInt16 Methods |
The UInt16 type exposes the following members.
| Name | Description | |
|---|---|---|
| CompareTo(Object) | Compares this instance to a specified object and returns an indication of their relative values. | |
| CompareTo(UInt16) | Compares this instance to a specified 16-bit unsigned integer and returns an indication of their relative values. | |
| Equals(Object) | Returns a value indicating whether this instance is equal to a specified object. (Overrides ValueTypeEquals(Object).) | |
| Equals(UInt16) | Returns a value indicating whether this instance is equal to a specified UInt16 value. | |
| GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Converts the numeric value of this instance to its equivalent string representation. (Overrides ValueTypeToString.) | |
| ToString(IFormatProvider) | Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information. | |
| ToString(String) | Converts the numeric value of this instance to its equivalent string representation using the specified format. | |
| ToString(String, IFormatProvider) | Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information. | |
| TryParse(String, UInt16) | Tries to convert the string representation of a number to its 16-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed. | |
| TryParse(String, NumberStyles, IFormatProvider, UInt16) | Tries to convert the string representation of a number in a specified style and culture-specific format to its 16-bit unsigned integer equivalent. A return value indicates whether the conversion succeeded or failed. |