# Dequeue()

> Removes the element from the end of the queue.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public T Dequeue()
```

### Returns

| Type | Description                  |
| ---- | ---------------------------- |
| T    | Returns the removed element. |
