Method Enqueue
Enqueue(T)
Adds an element at the front of the queue.
Declaration
public void Enqueue(T value)
Parameters
| Type | Name | Description |
|---|---|---|
| T | value | The value to be added. |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Thrown if the queue was full. |