Mono Class Library: System.Convert Overview | Members

System.Convert.ToChar Method

Converts a string to a char . [Edit]

public static char ToChar (string value)

Parameters

value
The string to be converted. The string is required to contain a single character. [Edit]

Returns

value as a char. [Edit]

Exceptions

TypeReason
FormatExceptionvalue does not contain exactly one character. [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