# ReinterpretStore<U>(int, U)

> Reinterpret and store data starting at underlying index as a different type.

## Definition

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

## ReinterpretStore\<T>(int, T)

```csharp
public void ReinterpretStore<U>(int destIndex, U data) where U : struct
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Index in the underlying array where the data is to be stored.**** (T): The data to store.
