Click or drag to resize
ConvertToChar Method (Boolean)
Calling this method always throws InvalidCastException.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static char ToChar(
	bool value
)

Parameters

value
Type: SystemBoolean
The Boolean value to convert.

Return Value

Type: Char
This conversion is not supported. No value is returned.
Exceptions
ExceptionCondition
InvalidCastExceptionThis conversion is not supported.
See Also