Click or drag to resize

CollectionAlgorithmsComparisonOfDifferentTypesT1, T2 Delegate

Represents a method that compares two objects of different types.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public delegate int ComparisonOfDifferentTypes<T1, T2>(
	T1 x,
	T2 y
)

Parameters

x
Type: T1
The first object to compare.
y
Type: T2
The second object to compare.

Type Parameters

T1
The type of the first object to compare.
T2
The type of the second object to compare.

Return Value

Type: Int32
Less than zero if x is less than y, greater than zero if x is greater than y, and zero if x equals y.
See Also