ConvertToChar Method (String) |
Converts the first character of a specified string to a Unicode character.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static char ToChar(
string value
)
Parameters
- value
- Type: SystemString
A string of length 1.
Return Value
Type:
CharA Unicode character that is equivalent to the first and only character in
value.
Exceptions See Also