# GetHashCode()

> Returns the hash code of this list.

## Definition

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

```csharp
public override int GetHashCode()
```

### Returns

| Type                                                       | Description                 |
| ---------------------------------------------------------- | --------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | The hash code of this list. |

### Remarks

Only the content of the list (the bytes of the elements) are included in the hash. Any bytes beyond the length are not part of the hash.
