C# | Boolean.CompareTo(Boolean) Method
Boolean.CompareTo(Boolean) Method is used to compare the current instance to a specified Boolean object and returns an indication of their relative values. Syntax: public int CompareTo (bool value); Here, the value is a Boolean object to compare to the current instance. Return Value: This method ret