Sequence T  IndexWhere Method (Func T, Boolean , Int32)A Sandcastle Documented Class Library
Finds the index of the first element satisfying some predicate after or at some start index. If this sequence represents an infinite set or series and no element satisfies the predicate, this will never return!

Namespace: Sequences
Assembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
public int IndexWhere(
	Func<T, bool> predicate,
	int from
)

Parameters

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

Return Value

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

Implements

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