# ElementAt(int)

> Returns a reference to the element at an index.

## Definition

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

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

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): An index.

### Returns

| Type | Description                              |
| ---- | ---------------------------------------- |
| T    | A reference to the element at the index. |
