# GetEnumerator()

> Returns an enumerator for iterating over the elements of this list.

## Definition

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

```csharp
public FixedList512Bytes<T>.Enumerator GetEnumerator()
```

### Returns

| Type                                                                                             | Description                                                 |
| ------------------------------------------------------------------------------------------------ | ----------------------------------------------------------- |
| [Enumerator](/engine/6000.7/script-reference/unity/collections/fixedlist512bytes1/enumerator.md) | An enumerator for iterating over the elements of this list. |
