Class ReadOnlyCollectionExtensions
Extends IReadOnlyCollection<T> with methods to find the index of an element.
public static class ReadOnlyCollectionExtensions
- Inheritance
-
ReadOnlyCollectionExtensions
- Inherited Members
Methods
- IndexOf<T>(IReadOnlyCollection<T>, Func<T, bool>)
Returns the index of the first element in the collection that matches the specified predicate.
- IndexOf<T>(IReadOnlyCollection<T>, T)
Returns the index of the first element in the collection that matches the specified predicate.