Algorithms..::..IndicesOfMany<(Of <(<'T>)>)> Method (IList<(Of <(<'T>)>)>, IEnumerable<(Of <(<'T>)>)>)
Enumerates the indices of all the items in a list equal to one of several given items.
Namespace:
Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
public static IEnumerable<int> IndicesOfMany<T>( IList<T> list, IEnumerable<T> itemsToLookFor )
Public Shared Function IndicesOfMany(Of T) ( _ list As IList(Of T), _ itemsToLookFor As IEnumerable(Of T) _ ) As IEnumerable(Of Integer)
public: generic<typename T> static IEnumerable<int^>^ IndicesOfMany( IList<T>^ list, IEnumerable<T>^ itemsToLookFor )
Type Parameters
- T
Parameters
- list
- Type: IList<(Of <(<'T>)>)>
The list to search.
- itemsToLookFor
- Type: IEnumerable<(Of <(<'T>)>)>
A collection of items to search for.