Summary
Returns the index of the `item` in this list or
-1 if it's not in this list.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- IndexedList
<TItem, TIndexer>
Syntax
public int IndexOf(TItem item)
Remarks
This method has
O(1) complexity.Parameters
| Name | Type | Description |
|---|---|---|
| item | TItem |
Return Value
| Type | Description |
|---|---|
| int |