Represents the method that compares two objects of the same type.
Namespace:
Gallio.CommonAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.459.0)
Syntax
| C# |
|---|
public delegate int Comparison( Object x, Object y ) |
| Visual Basic (Declaration) |
|---|
Public Delegate Function Comparison ( _ x As Object, _ y As Object _ ) As Integer |
Parameters
- x
- Type: System..::.Object
The first object to compare.
- y
- Type: System..::.Object
The second object to compare.
Return Value
a negative value if x is less than y, zero if x equals y, or a positive value if x is greater than y.
Remarks
This is a non-generic version of Comparison<(Of <(T>)>).
