# GetHashCode()

> Returns the hash code for this resolution.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

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

### Returns

| Type                                                       | Description                  |
| ---------------------------------------------------------- | ---------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | Hash code of the resolution. |

### Remarks

The hash code is computed from the width, height, and refresh rate, so resolutions that are equal have equal hash codes.
