Skip to content

BoolExtensions.ToBitChar Method

Definition

Converts a Boolean to a bit character, i.e. '1' for true and '0' for false.

public static char ToBitChar(this bool value);

View source

Parameters

Name Type Description
value Boolean The value to convert.

Returns

Char

The bit character.