# TripleArray<T1, T2, T3> class

Namespace: [Grasshopper2.Collections](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.collections.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public class TripleArray<T1, T2, T3>
```

Maintains and synchronizes three arrays. Note: this is probably useless now that Tuples are part of the lang.spec.

**Type parameters:**

- `T1`
- `T2`
- `T3`

## Constructors

- [TripleArray<T1, T2, T3>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/ctor.md): (3 overloads) Create a new, empty multi-array.

## Properties

- [A](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/a.md): Get access to the internal T1 array.
- [B](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/b.md): Get access to the internal T2 array.
- [C](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/c.md): Get access to the internal T3 array.
- [Capacity](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/capacity.md): Gets the capacity for each array.
- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/count.md): Gets the number of items stored in each array.
- [T1Items](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/t1items.md): Enumerate over all T1 items.
- [T2Items](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/t2items.md): Enumerate over all T2 items.
- [T3Items](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/t3items.md): Enumerate over all T3 items.

## Methods

- [Add](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/add.md): Add a pair to this multi array.
- [Clear](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/clear.md): Clear the array.
- [EnsureCapacity](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/ensurecapacity.md): Ensure the capacity of this multi-array is at least the given amount.
- [FindT1](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/findt1.md): (2 overloads) Find the first occurence of a T1 item.
- [FindT2](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/findt2.md): (2 overloads) Find the first occurence of a T2 item.
- [FindT3](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/findt3.md): (2 overloads) Find the first occurence of a T3 item.
- [Remove](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/remove.md): Remove the values at the given index.
- [ToT1Array](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/tot1array.md): Copy the internal T1 array into a new array.
- [ToT2Array](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/tot2array.md): Copy the internal T2 array into a new array.
- [ToT3Array](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/tot3array.md): Copy the internal T3 array into a new array.
- [TrimExcess](https://developer.rhino3d.com/api/gh2/type/grasshopper2.collections.triplearray-3/trimexcess.md): Release unused memory.
