    

 ## On this page

  

 

 # Class DimensionalList&lt;T\\&gt;

 Last update: 09.03.2026 

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

A list of Dimensionals.

```csharp
[MessagePackObject(true)]
public class DimensionalList<T> : List<Dimensional<T>>, IList<Dimensional<T>>, ICollection<Dimensional<T>>, IReadOnlyList<Dimensional<T>>, IReadOnlyCollection<Dimensional<T>>, IEnumerable<Dimensional<T>>, IList, ICollection, IEnumerable where T : IDimension, new()

```

#### Type Parameters

`T`

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [List&lt;Dimensional&lt;T&gt;&gt;](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1) ← [DimensionalList&lt;T&gt;](OpenTD.Dimension.DimensionalList-1.md)

## Implements

[IList&lt;Dimensional&lt;T&gt;&gt;](https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1), [ICollection&lt;Dimensional&lt;T&gt;&gt;](https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1), [IReadOnlyList&lt;Dimensional&lt;T&gt;&gt;](https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1), [IReadOnlyCollection&lt;Dimensional&lt;T&gt;&gt;](https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1), [IEnumerable&lt;Dimensional&lt;T&gt;&gt;](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1), [IList](https://learn.microsoft.com/dotnet/api/system.collections.ilist), [ICollection](https://learn.microsoft.com/dotnet/api/system.collections.icollection), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable)

## Inherited Members

[List&lt;Dimensional&lt;T&gt;&gt;.Add(Dimensional&lt;T&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.add), [List&lt;Dimensional&lt;T&gt;&gt;.AddRange(IEnumerable&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.addrange), [List&lt;Dimensional&lt;T&gt;&gt;.AsReadOnly()](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.asreadonly), [List&lt;Dimensional&lt;T&gt;&gt;.BinarySearch(int, int, Dimensional&lt;T&gt;, IComparer&lt;Dimensional&lt;T&gt;&gt;?)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.binarysearch#system-collections-generic-list-1-binarysearch(system-int32-system-int32-0-system-collections-generic-icomparer((-0)))), [List&lt;Dimensional&lt;T&gt;&gt;.BinarySearch(Dimensional&lt;T&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.binarysearch#system-collections-generic-list-1-binarysearch(-0)), [List&lt;Dimensional&lt;T&gt;&gt;.BinarySearch(Dimensional&lt;T&gt;, IComparer&lt;Dimensional&lt;T&gt;&gt;?)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.binarysearch#system-collections-generic-list-1-binarysearch(-0-system-collections-generic-icomparer((-0)))), [List&lt;Dimensional&lt;T&gt;&gt;.Clear()](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.clear), [List&lt;Dimensional&lt;T&gt;&gt;.Contains(Dimensional&lt;T&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.contains), [List&lt;Dimensional&lt;T&gt;&gt;.ConvertAll&lt;TOutput&gt;(Converter&lt;Dimensional&lt;T&gt;, TOutput&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.convertall), [List&lt;Dimensional&lt;T&gt;&gt;.CopyTo(int, Dimensional&lt;T&gt;\[\], int, int)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.copyto#system-collections-generic-list-1-copyto(system-int32-0()-system-int32-system-int32)), [List&lt;Dimensional&lt;T&gt;&gt;.CopyTo(Dimensional&lt;T&gt;\[\])](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.copyto#system-collections-generic-list-1-copyto(-0())), [List&lt;Dimensional&lt;T&gt;&gt;.CopyTo(Dimensional&lt;T&gt;\[\], int)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.copyto#system-collections-generic-list-1-copyto(-0()-system-int32)), [List&lt;Dimensional&lt;T&gt;&gt;.EnsureCapacity(int)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.ensurecapacity), [List&lt;Dimensional&lt;T&gt;&gt;.Exists(Predicate&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.exists), [List&lt;Dimensional&lt;T&gt;&gt;.Find(Predicate&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.find), [List&lt;Dimensional&lt;T&gt;&gt;.FindAll(Predicate&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.findall), [List&lt;Dimensional&lt;T&gt;&gt;.FindIndex(int, int, Predicate&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.findindex#system-collections-generic-list-1-findindex(system-int32-system-int32-system-predicate((-0)))), [List&lt;Dimensional&lt;T&gt;&gt;.FindIndex(int, Predicate&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.findindex#system-collections-generic-list-1-findindex(system-int32-system-predicate((-0)))), [List&lt;Dimensional&lt;T&gt;&gt;.FindIndex(Predicate&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.findindex#system-collections-generic-list-1-findindex(system-predicate((-0)))), [List&lt;Dimensional&lt;T&gt;&gt;.FindLast(Predicate&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.findlast), [List&lt;Dimensional&lt;T&gt;&gt;.FindLastIndex(int, int, Predicate&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.findlastindex#system-collections-generic-list-1-findlastindex(system-int32-system-int32-system-predicate((-0)))), [List&lt;Dimensional&lt;T&gt;&gt;.FindLastIndex(int, Predicate&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.findlastindex#system-collections-generic-list-1-findlastindex(system-int32-system-predicate((-0)))), [List&lt;Dimensional&lt;T&gt;&gt;.FindLastIndex(Predicate&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.findlastindex#system-collections-generic-list-1-findlastindex(system-predicate((-0)))), [List&lt;Dimensional&lt;T&gt;&gt;.ForEach(Action&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.foreach), [List&lt;Dimensional&lt;T&gt;&gt;.GetEnumerator()](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.getenumerator), [List&lt;Dimensional&lt;T&gt;&gt;.GetRange(int, int)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.getrange), [List&lt;Dimensional&lt;T&gt;&gt;.IndexOf(Dimensional&lt;T&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.indexof#system-collections-generic-list-1-indexof(-0)), [List&lt;Dimensional&lt;T&gt;&gt;.IndexOf(Dimensional&lt;T&gt;, int)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.indexof#system-collections-generic-list-1-indexof(-0-system-int32)), [List&lt;Dimensional&lt;T&gt;&gt;.IndexOf(Dimensional&lt;T&gt;, int, int)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.indexof#system-collections-generic-list-1-indexof(-0-system-int32-system-int32)), [List&lt;Dimensional&lt;T&gt;&gt;.Insert(int, Dimensional&lt;T&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.insert), [List&lt;Dimensional&lt;T&gt;&gt;.InsertRange(int, IEnumerable&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.insertrange), [List&lt;Dimensional&lt;T&gt;&gt;.LastIndexOf(Dimensional&lt;T&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.lastindexof#system-collections-generic-list-1-lastindexof(-0)), [List&lt;Dimensional&lt;T&gt;&gt;.LastIndexOf(Dimensional&lt;T&gt;, int)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.lastindexof#system-collections-generic-list-1-lastindexof(-0-system-int32)), [List&lt;Dimensional&lt;T&gt;&gt;.LastIndexOf(Dimensional&lt;T&gt;, int, int)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.lastindexof#system-collections-generic-list-1-lastindexof(-0-system-int32-system-int32)), [List&lt;Dimensional&lt;T&gt;&gt;.Remove(Dimensional&lt;T&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.remove), [List&lt;Dimensional&lt;T&gt;&gt;.RemoveAll(Predicate&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.removeall), [List&lt;Dimensional&lt;T&gt;&gt;.RemoveAt(int)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.removeat), [List&lt;Dimensional&lt;T&gt;&gt;.RemoveRange(int, int)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.removerange), [List&lt;Dimensional&lt;T&gt;&gt;.Reverse()](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.reverse#system-collections-generic-list-1-reverse), [List&lt;Dimensional&lt;T&gt;&gt;.Reverse(int, int)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.reverse#system-collections-generic-list-1-reverse(system-int32-system-int32)), [List&lt;Dimensional&lt;T&gt;&gt;.Slice(int, int)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.slice), [List&lt;Dimensional&lt;T&gt;&gt;.Sort()](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.sort#system-collections-generic-list-1-sort), [List&lt;Dimensional&lt;T&gt;&gt;.Sort(IComparer&lt;Dimensional&lt;T&gt;&gt;?)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.sort#system-collections-generic-list-1-sort(system-collections-generic-icomparer((-0)))), [List&lt;Dimensional&lt;T&gt;&gt;.Sort(Comparison&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.sort#system-collections-generic-list-1-sort(system-comparison((-0)))), [List&lt;Dimensional&lt;T&gt;&gt;.Sort(int, int, IComparer&lt;Dimensional&lt;T&gt;&gt;?)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.sort#system-collections-generic-list-1-sort(system-int32-system-int32-system-collections-generic-icomparer((-0)))), [List&lt;Dimensional&lt;T&gt;&gt;.ToArray()](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.toarray), [List&lt;Dimensional&lt;T&gt;&gt;.TrimExcess()](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.trimexcess), [List&lt;Dimensional&lt;T&gt;&gt;.TrueForAll(Predicate&lt;Dimensional&lt;T&gt;&gt;)](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.trueforall), [List&lt;Dimensional&lt;T&gt;&gt;.Capacity](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.capacity), [List&lt;Dimensional&lt;T&gt;&gt;.Count](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.count), [List&lt;Dimensional&lt;T&gt;&gt;.this\[int\]](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1.item), [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)

## Constructors

### DimensionalList()

```csharp
public DimensionalList()

```

### DimensionalList(IEnumerable&lt;double&gt;)

```csharp
public DimensionalList(IEnumerable<double> x)

```

#### Parameters

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

### DimensionalList(double\[\])

```csharp
public DimensionalList(double[] x)

```

#### Parameters

`x` [double](https://learn.microsoft.com/dotnet/api/system.double)\[\]

## Methods

### AddRange(IEnumerable&lt;double&gt;)

```csharp
public void AddRange(IEnumerable<double> x)

```

#### Parameters

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

### AddRange(double\[\])

```csharp
public void AddRange(double[] x)

```

#### Parameters

`x` [double](https://learn.microsoft.com/dotnet/api/system.double)\[\]

### GetValuesSI()

```csharp
public List<double> GetValuesSI()

```

#### Returns

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

## Operators

### implicit operator DimensionalList&lt;T&gt;(List&lt;double&gt;)

```csharp
public static implicit operator DimensionalList<T>(List<double> x)

```

#### Parameters

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

#### Returns

[DimensionalList](OpenTD.Dimension.DimensionalList-1.md)&lt;T&gt;

### implicit operator List&lt;double&gt;(DimensionalList&lt;T&gt;)

```csharp
public static implicit operator List<double>(DimensionalList<T> x)

```

#### Parameters

`x` [DimensionalList](OpenTD.Dimension.DimensionalList-1.md)&lt;T&gt;

#### Returns

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

## See Also

[Dimensional](OpenTD.Dimension.Dimensional-1.md)&lt;T&gt;