BytecodeApi Documentation

IEnumerableCountComparer<(Of <(<'TSource>)>)>..::..Compare Method (Object, Object)

Compares the result of the Count() method of two IEnumerable objects and returns an indication of their relative sort order. Specified Object parameters that are not IEnumerable objects are treated as nullNothingnullptra null reference (Nothing in Visual Basic).

Namespace:  BytecodeApi.Comparers
Assembly:  BytecodeApi (in BytecodeApi.dll)

Syntax


public int Compare(
	Object x,
	Object y
)
Public Function Compare ( _
	x As Object, _
	y As Object _
) As Integer
public:
int^ Compare(
	Object^ x, 
	Object^ y
)

Parameters

x
Type: Object
An IEnumerable to compare the result of the Count() method to the result of the Count() method of y.
y
Type: Object
An IEnumerable to compare the result of the Count() method to the result of the Count() method of x.

Return Value

A signed integer that indicates the relative values of the result of the Count() method of x and the result of the Count() method of y.