| RankedDictionaryTKey, TValueValueCollectionIndexOf Method |
Gets the index of the first element with the supplied value.
Namespace:
Kaos.Collections
Assembly:
KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax public int IndexOf(
TValue value
)
Parameters
- value
- Type: TValue
The value to find.
Return Value
Type:
Int32The index of
value if found; otherwise -1.
Remarks
This is a O(n) operation.
See Also