Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Method IndexOf

    IndexOf(T)

    Returns the first index of the specified item in the equatable array, or -1 if not found.

    Declaration
    public int IndexOf(T item)
    Parameters
    Type Name Description
    T item
    Returns
    Type Description
    int
    Implements
    IList<T>.IndexOf(T)

    IndexOf(T, IEqualityComparer<T>?)

    Returns the first index of the specified item in the equatable array, or -1 if not found.

    Declaration
    public int IndexOf(T item, IEqualityComparer<T>? equalityComparer)
    Parameters
    Type Name Description
    T item
    IEqualityComparer<T> equalityComparer
    Returns
    Type Description
    int

    IndexOf(T, int)

    Returns the first index of the specified item in the equatable array, or -1 if not found.

    Declaration
    public int IndexOf(T item, int startIndex)
    Parameters
    Type Name Description
    T item
    int startIndex
    Returns
    Type Description
    int

    IndexOf(T, int, IEqualityComparer<T>?)

    Returns the first index of the specified item in the equatable array, or -1 if not found.

    Declaration
    public int IndexOf(T item, int startIndex, IEqualityComparer<T>? equalityComparer)
    Parameters
    Type Name Description
    T item
    int startIndex
    IEqualityComparer<T> equalityComparer
    Returns
    Type Description
    int

    IndexOf(T, int, int)

    Returns the first index of the specified item in the equatable array, or -1 if not found.

    Declaration
    public int IndexOf(T item, int startIndex, int count)
    Parameters
    Type Name Description
    T item
    int startIndex
    int count
    Returns
    Type Description
    int

    IndexOf(T, int, int, IEqualityComparer<T>?)

    Returns the first index of the specified item in the equatable array, or -1 if not found.

    Declaration
    public int IndexOf(T item, int startIndex, int count, IEqualityComparer<T>? equalityComparer)
    Parameters
    Type Name Description
    T item
    int startIndex
    int count
    IEqualityComparer<T> equalityComparer
    Returns
    Type Description
    int
    © Singulink. All rights reserved.