C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System
Convert Class
Convert Methods
ToChar Method
ToChar Method (Boolean)
ToChar Method (Byte)
ToChar Method (Char)
ToChar Method (DateTime)
ToChar Method (Decimal)
ToChar Method (Double)
ToChar Method (Int16)
ToChar Method (Int32)
ToChar Method (Int64)
ToChar Method (Object)
ToChar Method (SByte)
ToChar Method (Single)
ToChar Method (String)
ToChar Method (UInt16)
ToChar Method (UInt32)
ToChar Method (UInt64)
ToChar Method (Object, IFormatProvider)
ToChar Method (String, IFormatProvider)
Convert
ToChar Method (Decimal)
Calling this method always throws
InvalidCastException
.
Namespace:
System
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
static
char
ToChar
(
decimal
value
)
Parameters
value
Type:
System
Decimal
The decimal number to convert.
Return Value
Type:
Char
This conversion is not supported. No value is returned.
Exceptions
Exception
Condition
InvalidCastException
This conversion is not supported.
See Also
Reference
Convert Class
ToChar Overload
System Namespace