System.Runtime.CompilerServices.ReadOnlyCollectionBuilder.IndexOf C# (CSharp) Méthode

IndexOf() public méthode

Returns the index of the first occurrence of a given value in the builder.
public IndexOf ( item ) : int
item An item to search for.
Résultat int
        public int IndexOf(T item)
        {
            return Array.IndexOf(_items, item, 0, _size);
        }