# Add(int)

> Atomically adds a value to this counter.

## Definition

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

```csharp
public int Add(int value)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The value to add.

### Returns

| Type                                                       | Description                        |
| ---------------------------------------------------------- | ---------------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The original value before the add. |
