System.Runtime.CompilerServices.ReadOnlyCollectionBuilder.IndexOf C# (CSharp) 메소드

IndexOf() 공개 메소드

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