Method Dequeue
Dequeue()
Removes the element from the end of the queue.
Declaration
public T Dequeue()
Returns
Type | Description |
---|---|
T | Returns the removed element. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown if the queue was empty. |