Converts a string to a char equivalent.
- s
- The string containing a single character to convert.
The char equivalent of s.
Type Reason ArgumentNullException s is a null reference. FormatException s contains more than one character.
This method calls char.Parse(string)(s).
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0