IsBinaryDigits Method
Definition
IsBinaryDigits(string)
Determines whether the specified value consists only of binary digits.
public static bool IsBinaryDigits(string value)
Parameters
valuestringThe string to verify consist only of binary digits.
Returns
- bool
trueif the specifiedvalueconsists only of binary digits; otherwise,false.