# Dequeue()

> Removes and returns the element at the front of this 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    | The element at the front of this queue. |
