Represents a 16-bit unsigned integer. The UInt16 type is not CLS compliant. The CLS-compliant alternative is Int16.
[C#] public struct UInt16 : IComparable, IFormattable, IConvertible [C++] public __value struct UInt16 : public IComparable, IFormattable, IConvertible
[Visual Basic] The UInt16 type cannot be used in Visual Basic.
[JScript] In JScript, you can use the structures in the NGWS frameworks, but you cannot define your own.
UInt16 will encapsulate a short and provide an Object representation of it.
The UInt16 data type can represent integers with four significant digits in the range from 0 through positive 65535.
UInt16 supports standard widening coercions between Int32, Int64, UInt32, Single, Double, Decimal, and Object. These coercions result in no loss of precision of magnitude.
Namespace: System
Assembly: mscorlib.dll