Mono Class Library: System.Convert Overview | Members

System.Convert.ToInt16 Method

Converts a char to a short . [Edit]

public static short ToInt16 (char value)

Parameters

value
The char to be converted interpreted as an unsigned value. [Edit]

Returns

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

Exceptions

TypeReason
OverflowExceptionThe numeric value of value is greater than short.MaxValue. [Edit]

Remarks

Documentation for this section has not yet been entered. [Edit]

Requirements

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