# operator !=(EntityArchetype, EntityArchetype)

> Compares the archetypes for inequality.

## Definition

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

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

### Parameters

**** (\[EntityArchetype]\(/engine/7000.0/script-reference/unity/entities/entityarchetype)): A EntityArchetype object.**** (\[EntityArchetype]\(/engine/7000.0/script-reference/unity/entities/entityarchetype)): Another EntityArchetype object.

### Returns

| Type                                                          | Description                                                              |
| ------------------------------------------------------------- | ------------------------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True, if these EntityArchetype instances reference different archetypes. |
