ISequence T  LengthCompare Method A Sandcastle Documented Class Library
Compares the length of this sequence with a test value. This method does not call Count directly - its running time is O(count min length) instead of O(count).

Namespace: Sequences
Assembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
int LengthCompare(
	int length
)

Parameters

length
Type: System Int32
A test value to be compared with this sequence's length.

Return Value

Type: Int32
A value x, where x > 0 if this sequence is longer than length, x < 1 if this sequence is shorter than length or x == 0 if this sequence has length elements.
See Also