Converts the value of the specified string to its equivalent Unicode character.
s A string that contains a single character, or null.
A Unicode character equivalent to the sole character in s.
TypeReasonArgumentNullException s is a null reference.FormatException s does not contain exactly one character.