public T this[int index] { get { Deque <T> .CheckExistingIndexArgument(Count, index); return(DoGetItem(index)); } set { Deque <T> .CheckExistingIndexArgument(Count, index); DoSetItem(index, value); } }
public void RemoveAt(int index) { Deque <T> .CheckExistingIndexArgument(Count, index); DoRemoveAt(index); }