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