public void ClearPriorityOutputQueue() { Packet tempPacket = new Packet(); while( priorityOutputQueue.Dequeue( ref tempPacket ) ) { } }