Interface IOperator
Provides basic arithmetic operations and comparison functionality.
public interface IOperator : IComparer
- Inherited Members
- Extension Methods
Methods
Add(object, object)
Adds two objects.
object Add(object first, object second)
Parameters
Returns
- object
The result of addition.
Divide(object, object)
Divides the first object by the second.
object Divide(object first, object second)
Parameters
Returns
- object
The result of division.
Multiply(object, object)
Multiplies two objects.
object Multiply(object first, object second)
Parameters
Returns
- object
The result of multiplication.
Subtract(object, object)
Subtracts the second object from the first.
object Subtract(object first, object second)
Parameters
Returns
- object
The result of subtraction.