Method IsEmpty
IsEmpty()
Returns true if this queue is empty.
Declaration
public readonly bool IsEmpty()
Returns
| Type | Description |
|---|---|
| bool | True if this queue has no items or if the queue has not been constructed. |
Remarks
Note that getting the count requires traversing the queue's internal linked list of blocks. Where possible, cache this value instead of reading the property repeatedly.