# operator ==(RefreshRate, RefreshRate)

> Returns true if two refresh rates are equal.

## Definition

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

```csharp
public static bool operator ==(RefreshRate lhs, RefreshRate rhs)
```

### Parameters

**** (\[RefreshRate]\(/engine/6000.0/script-reference/unityengine/refreshrate)): Refresh rate to compare on the left side.**** (\[RefreshRate]\(/engine/6000.0/script-reference/unityengine/refreshrate)): Refresh rate to compare on the right side.

### Returns

| Type                                                          | Description                                                           |
| ------------------------------------------------------------- | --------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if both refresh rates represent the same value, otherwise false. |

### Remarks

Refresh rates are compared as ratios. For example, a refresh rate of 120/2 is equal to a refresh rate of 60/1.

Additional Resources: [RefreshRate.Equals](/engine/6000.0/script-reference/unityengine/refreshrate/equals.md)
