CastArrayTFrom, TToIndexOf Method
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public int IndexOf(
TTo item
)
Public Function IndexOf (
item As TTo
) As Integer
public:
virtual int IndexOf(
TTo item
) sealed
abstract IndexOf :
item : 'TTo -> int
override IndexOf :
item : 'TTo -> int
- item TTo
- The object to locate in the CastArrayTFrom, TTo.
Int32
The index of
item if found in the list; otherwise, -1.
IListTIndexOf(T)