# operator !=(LocaleIdentifier, LocaleIdentifier)

> Determines whether two identifiers have different culture codes.

## Definition

* **Type:** Operator
* **Namespace:** [Unity.Localization](/engine/6000.7/script-reference/unity/localization.md)
* **Assembly:** UnityEngine.LocalizationRuntimeModule

```csharp
public static bool operator !=(LocaleIdentifier a, LocaleIdentifier b)
```

### Parameters

**** (\[LocaleIdentifier]\(/engine/6000.7/script-reference/unity/localization/localeidentifier)): The first identifier to compare.**** (\[LocaleIdentifier]\(/engine/6000.7/script-reference/unity/localization/localeidentifier)): The second identifier to compare.

### Returns

| Type                                                          | Description                                                                                |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` if the identifiers have different culture codes, ignoring case; otherwise, `false`. |

### Remarks

The negation of the equality comparison; the comparison ignores case.

Compare two identifiers with the inequality operator.

### Examples

```csharp
using Unity.Localization;

namespace Unity.Localization.Samples
{
    public class LocaleIdentifierInequalityOperatorExample
    {
        public bool Run(LocaleIdentifier a, LocaleIdentifier b) => a != b;
    }
}
```
