    

 ## On this page

  

 

 # Class ListUtility

 Last update: 09.03.2026 

Namespace: [OpenTD.Utility](OpenTD.Utility.md)  
Assembly: OpenTD.dll

Utility methods for working with lists.

```csharp
public static class ListUtility

```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [ListUtility](OpenTD.Utility.ListUtility.md)

## Inherited Members

[object.Equals(object?)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)), [object.Equals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)), [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode), [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype), [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone), [object.ReferenceEquals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Methods

### SequencesEqual&lt;T&gt;(List&lt;T&gt;, List&lt;T&gt;)

```csharp
public static bool SequencesEqual<T>(List<T> x, List<T> y)

```

#### Parameters

`x` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;T&gt;

`y` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;T&gt;

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

#### Type Parameters

`T`