Method IndexOf
IndexOf(object?)
Determines the index of a specific item in the IList.
public override int IndexOf(object? value)
Parameters
Returns
- int
The index of
valueif found in the list; otherwise, -1.
Determines the index of a specific item in the IList.
public override int IndexOf(object? value)
The index of value if found in the list; otherwise, -1.