예제 #1
0
        public int IndexOf(object value)
        {
            T[] elementData = this._array;
            int length      = elementData.Length;

            return(CopyOnWriteArray <T> .IndexOf((T)value, elementData, length));
        }
예제 #2
0
        public int IndexOf(T item)
        {
            T[] elementData = this._array;
            int length      = elementData.Length;

            return(CopyOnWriteArray <T> .IndexOf(item, elementData, length));
        }