# operator ==

> Returns true if two lists are equal.

## Definition

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

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

Returns true if two lists are equal.

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

### Parameters

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

### Returns

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

### Remarks

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

## operator ==(FixedList512Bytes\<T>, FixedList64Bytes\<T>)

Returns true if two lists are equal.

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

### Parameters

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

### Returns

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

### Remarks

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

## operator ==(FixedList512Bytes\<T>, FixedList128Bytes\<T>)

Returns true if two lists are equal.

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

### Parameters

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

### Returns

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

### Remarks

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

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

Returns true if two lists are equal.

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

### Parameters

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

### Returns

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

### Remarks

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

## operator ==(FixedList512Bytes\<T>, FixedList4096Bytes\<T>)

Returns true if two lists are equal.

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

### Parameters

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

### Returns

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

### Remarks

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