Click or drag to resize

compareCountCompareCountT0, T1 Method

Namespace:  WhetStone.Looping
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static int CompareCount<T0, T1>(
	this IEnumerable<T0> this,
	IEnumerable<T1> other
)

Parameters

this
Type: System.Collections.GenericIEnumerableT0
The first IEnumerableT to compare.
other
Type: System.Collections.GenericIEnumerableT1
The second IEnumerableT to compare.

Type Parameters

T0
The type of the first IEnumerableT.
T1
The type of the second IEnumerableT.

Return Value

Type: Int32
-1 if this is shorter, 1 if other is shorter, 0 if they have the same length.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT0. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
See Also