    

 ## On this page

  

 

 # Class ListSI

 Last update: 09.03.2026 

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

A list of doubles named to explicitly state SI units.

```csharp
[MessagePackObject(true)]
public class ListSI : List<double>, IList<double>, ICollection<double>, IReadOnlyList<double>, IReadOnlyCollection<double>, IEnumerable<double>, IList, ICollection, IEnumerable

```

## Inheritance

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

## Implements

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

### ListSI()

```csharp
public ListSI()

```

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

```csharp
public ListSI(IEnumerable<double> doubleCollection)

```

#### Parameters

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

### ListSI(int)

```csharp
public ListSI(int capacity)

```

#### Parameters

`capacity` [int](https://learn.microsoft.com/dotnet/api/system.int32)