public void Add(int value) { this.queue.Enqueue(value); if (this.queue.Count > this.Length) { this.queue.Dequeue(); } }