Beispiel #1
0
        public T this[int index]
        {
            get
            {
                Deque <T> .CheckExistingIndexArgument(Count, index);

                return(DoGetItem(index));
            }
            set
            {
                Deque <T> .CheckExistingIndexArgument(Count, index);

                DoSetItem(index, value);
            }
        }
Beispiel #2
0
        public void RemoveAt(int index)
        {
            Deque <T> .CheckExistingIndexArgument(Count, index);

            DoRemoveAt(index);
        }