System.UInt16 Structure
Represents a 16-bit unsigned integer.

See Also: UInt16 Members

Syntax

[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
public struct UInt16 : IComparable, IComparable<ushort>, IConvertible, IEquatable<ushort>, IFormattable

Remarks

The ushort data type represents integer values ranging from 0 to positive 65,535 (hexadecimal 0xFFFF).

Thread Safety

This type is safe for multithreaded operations.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0