GenericCharToBool Method

Converts a char object to a 3-state boolean type.

Definition

Namespace: Common.Core.Converters
Assembly: Common.Core (in Common.Core.dll) Version: 2.1.5
C#
public static bool? CharToBool(
	Object value
)

Parameters

value  Object
Value to try and convert.

Return Value

NullableBoolean
is returned if the value could not be converted, if the value is Y, y, or 1, otherwise .

See Also