Method LastIndexOf
LastIndexOf(T)
Searches for an item in the list going backwards from the end.
Declaration
int LastIndexOf(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | Item to search for. |
Returns
Type | Description |
---|---|
System.Int32 | Index of of item from the end. A negative number if item not found, namely the two-complement of the index at which the Add operation would put the item. |