Sequence T  LastIndexWhere Method (Func T, Boolean , Int32)A Sandcastle Documented Class Library
Finds the index of the last element satisfying some predicate 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 LastIndexWhere(
	Func<T, bool> predicate,
	int end
)

Parameters

predicate
Type: System Func T, Boolean 
The predicate used to test elements.
end
Type: System Int32
The end index.

Return Value

Type: Int32
The index of the last element that satisfies the predicate, or -1 if none exists.

Implements

ISequence T  LastIndexWhere(Func T, Boolean , Int32)
See Also