Mono Class Library: System.Char Overview | Members

System.Char.Parse Method

Returns the specified string converted to a char value.

public static char Parse (string s)

Parameters

s
A string containing a single Unicode character.

Returns

The char value obtained from s.

Exceptions

TypeReason
ArgumentNullExceptions is a null reference.
FormatExceptions does not contain exactly one character.

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