---
title: "Rational..::.Inequality Operator"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Rational_op_Inequality_2_6900e261.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Rational.Inequality Operator
 
Compares [Rational](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Rational.htm.md) values for inequality.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Shared Operator <> ( _object1 As Rational, _object2 As Rational _
) As Boolean
```
 
```csharp
public static bool operator !=(Rational object1,Rational object2
)
```
 
### Parameters
 
 - object1
     - Type: [Aurigma.GraphicsMill.Rational](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Rational.htm.md)
First [Rational](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Rational.htm.md) value.

 - object2
     - Type: [Aurigma.GraphicsMill.Rational](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Rational.htm.md)
Second [Rational](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Rational.htm.md) value.
 
### Return Value
Value that is **true** when numbers are inequal, **false** otherwise.
   
## See Also

### Reference

- [Rational Structure](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Rational.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
