# ReadArrayElement<T>(void*, int)

> Read array element.

## Definition

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

```csharp
public static T ReadArrayElement<T>(void* source, int index)
```

### Parameters

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

### Returns

| Type | Description    |
| ---- | -------------- |
| T    | Array Element. |
