Method Dequeue
Dequeue()
Removes and returns the element at the end of this queue.
Declaration
public T Dequeue()
Returns
Type | Description |
---|---|
T | The element at the end of this queue. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown if this queue is empty. |