# Add(long)

> 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 long Add(long value)
```

### Parameters

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

### Returns

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