Converts an Int32 to a character.
[Visual Basic] Overloads Public Shared Function ToChar( _ ByVal value As Integer _ ) As Char [C#] public static char ToChar( int value ); [C++] public: static __wchar_t ToChar( int value ); [JScript] public static function ToChar( value : int ) : Char;
The converted value.
Exception Type | Condition |
---|---|
OverflowException | is thrown if value is greater than Char.MaxValue or less than Char.MinValue. |
Convert Class | Convert Members | System Namespace | Convert.ToChar Overload List