System.Convert.ToUInt64 Method

Converts the value of the specified 16-bit unsigned integer to the equivalent 64-bit unsigned integer.

Syntax

[System.CLSCompliant(false)]
public static ulong ToUInt64 (ushort value)

Parameters

value
The 16-bit unsigned integer to convert.

Returns

A 64-bit unsigned integer that is equivalent to value.

Remarks

This member is not CLS-compliant. For a CLS-compliant alternative, use Convert.ToDecimal(object)(int).

Requirements

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