Mono Class Library: System.Convert Overview | MembersSystem.Convert.ToUInt16 Method |
Converts a int to a ushort . [Edit]
|
- value
- The 32-bit signed integer value to be converted. [Edit]
value as a 16-bit unsigned integer. [Edit]
Type Reason OverflowException value is greater than ushort.MaxValue or less than ushort.MinValue. [Edit]
This member is not CLS-compliant. For a CLS-compliant alternative, use Convert.ToInt32(object)(int). [Edit]
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0