Mono Class Library: System.Convert Overview | Members

System.Convert.ToInt16 Method

Converts a char to a short .

public static short ToInt16 (char value)

Parameters

value
The char to be converted interpreted as an unsigned value.

Returns

value as a 16-bit signed integer.

Exceptions

TypeReason
OverflowExceptionThe numeric value of value is greater than short.MaxValue.

Remarks

Documentation for this section has not yet been entered.

Requirements

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