private void DequeCollectionOperations(IDeque <int> deque) { for (var i = 0; i < 1000; i++) { deque.Append(i + 1); } deque.CollectionOperations <int>(1000); }