# operator !=(EntityQueryDesc, EntityQueryDesc)

> Compare two instance for inequality.

## Definition

* **Type:** Operator
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

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

### Parameters

**** (\[EntityQueryDesc]\(/engine/7000.0/script-reference/unity/entities/entityquerydesc)): The left instance to compare**** (\[EntityQueryDesc]\(/engine/7000.0/script-reference/unity/entities/entityquerydesc)): The right instance to compare

### Returns

| Type                                                          | Description                                           |
| ------------------------------------------------------------- | ----------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | False if the two instances are equal, or true if not. |
