# WriteArrayElementWithStride<T>(void*, int, int, T)

> Write array element with stride.

## Definition

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

```csharp
public static void WriteArrayElementWithStride<T>(void* destination, int index, int stride, T value)
```

### Parameters

**** (\[void\*]\(https\://learn.microsoft.com/dotnet/api/system.void)): Memory pointer.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Array index.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Stride.**** (T): Value to write.
