# Add(TKey, TValue)

> Adds a new key-value pair.

## Definition

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

## Add(T, T)

```csharp
public void Add(TKey key, TValue item)
```

### Parameters

**** (T): The key to add.**** (T): The value to add.

### Remarks

If a key-value pair with this key is already present, an additional separate key-value pair is added.
