Sequence T  LastIndexOf Method (T, Int32)A Sandcastle Documented Class Library
Finds the index of the last occurrence of some value in this sequence, before or at some end index. If this sequence represents an infinite set or series, this will never return!

Namespace: Sequences
Assembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
public int LastIndexOf(
	T elem,
	int end
)

Parameters

elem
Type: T
The value to search for.
end
Type: System Int32
The end index.

Return Value

Type: Int32
The index of the last occurrence of elem if any is found; otherwise, -1.

Implements

ISequence T  LastIndexOf(T, Int32)
See Also