## CharacterRange Equality operator

Compares two CharacterRange objects. Gets a value indicating whether the First and Length values of the two CharacterRange objects are equal.

```csharp
public static bool operator ==(CharacterRange cr1, CharacterRange cr2)
```

| Parameter | Type | Description |
| --- | --- | --- |
| cr1 | CharacterRange | A CharacterRange to compare for equality. |
| cr2 | CharacterRange | A CharacterRange to compare for equality. |

### Return Value

`true` to indicate the two CharacterRange objects have the same First and Length values; otherwise, `false`.

### See Also

* struct [CharacterRange](../)
* namespace [System.Drawing](../../characterrange/)
* assembly [Aspose.Drawing](../../../)


