# operator !=(EntityId, EntityId)

> Determines whether two EntityId instances are not equal.

## Definition

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

```csharp
public static bool operator !=(EntityId left, EntityId right)
```

### Parameters

**** (\[EntityId]\(/engine/6000.3/script-reference/unityengine/entityid)): The first EntityId to compare.**** (\[EntityId]\(/engine/6000.3/script-reference/unityengine/entityid)): The second EntityId to compare.

### Returns

| Type                                                          | Description                                            |
| ------------------------------------------------------------- | ------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the EntityIds are not equal; otherwise, false. |
