asp.net.ph

Convert.ToChar Method ( Int16 )

System Namespace   Convert Class


Converts the value of a given 16-bit signed integer to its equivalent Unicode character.

[ VB ]
Overloads Public Shared Function ToChar ( _
   ByVal value As Short _
) As Char

[ C# ]
public static char ToChar (
   short value
);

[ C++ ]
public: static __wchar_t ToChar (
   short value
);

[ JScript ]
public static function ToChar (
   value : Int16
) : Char;

Parameters

value
A 16-bit signed integer.

Return Value

The Unicode character equivalent of value.

Exceptions


Exception Type Condition
OverflowException value is less than Char.MinValue.

See Also

Convert Members   Convert.ToChar Overload List Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note