# ElementAt(int)

> Returns the reference to a byte (not character) at an index.

## Definition

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

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

### Parameters

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

### Returns

| Type                                                       | Description                           |
| ---------------------------------------------------------- | ------------------------------------- |
| [byte](https://learn.microsoft.com/dotnet/api/system.byte) | A reference to the byte at the index. |
