The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

ListEx.

IndexOf<T>(IEnumerable<T>, T) Method

Summary

Finds the index of the current item using the specified equality comparer.
Namespace
DynamicData
Containing Type
ListEx

Syntax

public static int IndexOf<T>(this IEnumerable<T> source, T item)

Type Parameters

Name Description
T The type of the item.

Parameters

Name Type Description
source IEnumerable<T> The source enumerable.
item T The item to get the index of.

Return Value

Type Description
int The index.