Mono Class Library: System.Convert Overview | Members

System.Convert.ToInt32 Method

Converts a ushort to a int . [Edit]

[System.CLSCompliant(false)]
public static int ToInt32 (ushort value)

Parameters

value
The 16-bit unsigned integer value to be converted. [Edit]

Returns

value as a 32-bit signed integer. [Edit]

Remarks

This member is not CLS-compliant. For a CLS-compliant alternative, use Convert.ToInt32(object)(int). [Edit]

Requirements

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