# operator !=

> Returns true if two lists are unequal.

## Definition

* **Type:** Operator
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

## operator !=(FixedList32Bytes\<T>, FixedList32Bytes\<T>)

Returns true if two lists are unequal.

```csharp
public static bool operator !=(in FixedList32Bytes<T> a, in FixedList32Bytes<T> b)
```

### Parameters

**** (\[FixedList32Bytes\<T>]\(/engine/6000.7/script-reference/unity/collections/fixedlist32bytes1)): The first list to compare for inequality.**** (\[FixedList32Bytes\<T>]\(/engine/6000.7/script-reference/unity/collections/fixedlist32bytes1)): The second list to compare for inequality.

### Returns

| Type                                                          | Description                        |
| ------------------------------------------------------------- | ---------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the two lists are unequal. |

### Remarks

Two lists are equal if their length and bytes are equal.

## operator !=(FixedList32Bytes\<T>, FixedList64Bytes\<T>)

Returns true if two lists are unequal.

```csharp
public static bool operator !=(in FixedList32Bytes<T> a, in FixedList64Bytes<T> b)
```

### Parameters

**** (\[FixedList32Bytes\<T>]\(/engine/6000.7/script-reference/unity/collections/fixedlist32bytes1)): The first list to compare for inequality.**** (\[FixedList64Bytes\<T>]\(/engine/6000.7/script-reference/unity/collections/fixedlist64bytes1)): The second list to compare for inequality.

### Returns

| Type                                                          | Description                        |
| ------------------------------------------------------------- | ---------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the two lists are unequal. |

### Remarks

Two lists are equal if their length and bytes are equal.

## operator !=(FixedList32Bytes\<T>, FixedList128Bytes\<T>)

Returns true if two lists are unequal.

```csharp
public static bool operator !=(in FixedList32Bytes<T> a, in FixedList128Bytes<T> b)
```

### Parameters

**** (\[FixedList32Bytes\<T>]\(/engine/6000.7/script-reference/unity/collections/fixedlist32bytes1)): The first list to compare for inequality.**** (\[FixedList128Bytes\<T>]\(/engine/6000.7/script-reference/unity/collections/fixedlist128bytes1)): The second list to compare for inequality.

### Returns

| Type                                                          | Description                        |
| ------------------------------------------------------------- | ---------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the two lists are unequal. |

### Remarks

Two lists are equal if their length and bytes are equal.

## operator !=(FixedList32Bytes\<T>, FixedList512Bytes\<T>)

Returns true if two lists are unequal.

```csharp
public static bool operator !=(in FixedList32Bytes<T> a, in FixedList512Bytes<T> b)
```

### Parameters

**** (\[FixedList32Bytes\<T>]\(/engine/6000.7/script-reference/unity/collections/fixedlist32bytes1)): The first list to compare for inequality.**** (\[FixedList512Bytes\<T>]\(/engine/6000.7/script-reference/unity/collections/fixedlist512bytes1)): The second list to compare for inequality.

### Returns

| Type                                                          | Description                        |
| ------------------------------------------------------------- | ---------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the two lists are unequal. |

### Remarks

Two lists are equal if their length and bytes are equal.

## operator !=(FixedList32Bytes\<T>, FixedList4096Bytes\<T>)

Returns true if two lists are unequal.

```csharp
public static bool operator !=(in FixedList32Bytes<T> a, in FixedList4096Bytes<T> b)
```

### Parameters

**** (\[FixedList32Bytes\<T>]\(/engine/6000.7/script-reference/unity/collections/fixedlist32bytes1)): The first list to compare for inequality.**** (\[FixedList4096Bytes\<T>]\(/engine/6000.7/script-reference/unity/collections/fixedlist4096bytes1)): The second list to compare for inequality.

### Returns

| Type                                                          | Description                        |
| ------------------------------------------------------------- | ---------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the two lists are unequal. |

### Remarks

Two lists are equal if their length and bytes are equal.
