System.UInt16.ToString Method

Returns a string representation of the value of the current instance.

Syntax

public override string ToString ()

Returns

A string representation of the current instance formatted using the general format specifier ("G"). The string takes into account the current system culture.

Remarks

This version of ushort.ToString is equivalent to ushort.ToString(null, null).

Note: This method overrides object.ToString.

Requirements

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