Method LastIndexOf
LastIndexOf(T)
Returns the last index of the specified item in the equatable array, or -1 if not found.
Declaration
public int LastIndexOf(T item)
Parameters
| Type |
Name |
Description |
| T |
item |
|
Returns
LastIndexOf(T, IEqualityComparer<T>?)
Returns the last index of the specified item in the equatable array, or -1 if not found.
Declaration
public int LastIndexOf(T item, IEqualityComparer<T>? equalityComparer)
Parameters
Returns
LastIndexOf(T, int)
Returns the last index of the specified item in the equatable array, or -1 if not found.
Declaration
public int LastIndexOf(T item, int startIndex)
Parameters
| Type |
Name |
Description |
| T |
item |
|
| int |
startIndex |
|
Returns
LastIndexOf(T, int, IEqualityComparer<T>?)
Returns the last index of the specified item in the equatable array, or -1 if not found.
Declaration
public int LastIndexOf(T item, int startIndex, IEqualityComparer<T>? equalityComparer)
Parameters
Returns
LastIndexOf(T, int, int)
Returns the last index of the specified item in the equatable array, or -1 if not found.
Declaration
public int LastIndexOf(T item, int startIndex, int count)
Parameters
| Type |
Name |
Description |
| T |
item |
|
| int |
startIndex |
|
| int |
count |
|
Returns
LastIndexOf(T, int, int, IEqualityComparer<T>?)
Returns the last index of the specified item in the equatable array, or -1 if not found.
Declaration
public int LastIndexOf(T item, int startIndex, int count, IEqualityComparer<T>? equalityComparer)
Parameters
Returns