## CharacterRange Inequality operator

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

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

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

### Return Value

`true` to indicate the either the First or Length values of the two CharacterRange objects differ; otherwise, `false`.

### See Also

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


