# Clear()

> Removes all key-value pairs.

## Definition

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

```csharp
public void Clear()
```

### Remarks

Does not change the capacity.
