ByteExtensions.Parity Method
Definition
Gets the parity of a byte, i.e. whether the number of set bits is even.
public static bool Parity(this Byte value);
Parameters
| Name | Type | Description |
|---|---|---|
| value | Byte | The byte value. |
Returns
true if the number of set bits is even; false otherwise.