Class ByteOperator
Implements arithmetic operations for byte values.
public class ByteOperator : BaseOperator<byte>, IOperator<byte>, IComparer<byte>, IOperator, IComparer
- Inheritance
-
ByteOperator
- Implements
- Inherited Members
- Extension Methods
Constructors
ByteOperator()
public ByteOperator()
Methods
Add(byte, byte)
Adds two byte values.
public override byte Add(byte first, byte second)
Parameters
Returns
Compare(byte, byte)
Compares two byte values.
public override int Compare(byte first, byte second)
Parameters
Returns
Divide(byte, byte)
Divides the first byte value by the second.
public override byte Divide(byte first, byte second)
Parameters
Returns
Multiply(byte, byte)
Multiplies two byte values.
public override byte Multiply(byte first, byte second)
Parameters
Returns
Subtract(byte, byte)
Subtracts the second byte value from the first.
public override byte Subtract(byte first, byte second)