IOperator
Ecng.Common
Provides basic arithmetic operations and comparison functionality.
Implementiert: IComparer
Methoden
Add
public object Add(object first, object second)
result = iOperator.Add(first, second)
Adds two objects.
- first
- The first object.
- second
- The second object.
Rückgabe: The result of addition.
Divide
public object Divide(object first, object second)
result = iOperator.Divide(first, second)
Divides the first object by the second.
- first
- The first object.
- second
- The second object.
Rückgabe: The result of division.
Multiply
public object Multiply(object first, object second)
result = iOperator.Multiply(first, second)
Multiplies two objects.
- first
- The first object.
- second
- The second object.
Rückgabe: The result of multiplication.
Subtract
public object Subtract(object first, object second)
result = iOperator.Subtract(first, second)
Subtracts the second object from the first.
- first
- The first object.
- second
- The second object.
Rückgabe: The result of subtraction.