Method TryDequeue
TryDequeue(out T)
Removes and outputs the element at the end of this queue.
Declaration
public bool TryDequeue(out T item)
Parameters
| Type | Name | Description |
|---|---|---|
| T | item | Outputs the removed element. |
Returns
| Type | Description |
|---|---|
| bool | True if this queue was not empty. |