Sequence T  IndexOf Method (T)A Sandcastle Documented Class Library
Finds the index of the first occurrence of some value in this sequence. If this sequence represents an infinite set or series and doesn't contain elem, this will never return!

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

Parameters

elem
Type: T
The value to search for.

Return Value

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

Implements

ISequence T  IndexOf(T)
See Also