# ElementAt(int)

> Returns a reference to the element at a given index.

## Definition

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

```csharp
public ref T* ElementAt(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The index to access. Must be in the range of \[0..Length).

### Returns

| Type            | Description                              |
| --------------- | ---------------------------------------- |
| [\<T>\*](./.md) | A reference to the element at the index. |
