# TypeTriplet class

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

```cs
public sealed class TypeTriplet : IComparable<TypeTriplet>, IEquatable<TypeTriplet>
```

Ordered triplet of Types.

## Constructors

- [TypeTriplet](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetriplet/ctor.md): Create a new type triplet.

## Properties

- [TypeA](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetriplet/typea.md): Gets the id of the first type.
- [TypeB](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetriplet/typeb.md): Gets the id of the second type.
- [TypeC](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetriplet/typec.md): Gets the id of the third type.

## Methods

- [Create<T1, T2, T3>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetriplet/create.md): (2 overloads, static) Create a type triplet through generic means.
- [GetHashCode](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetriplet/gethashcode.md): Serves as the default hash function.
- [GetNameCode](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetriplet/getnamecode.md): Gets a string description of this typepair.
- [IComparable<TypeTriplet>.CompareTo](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetriplet/system-icomparable-grasshopper2-types-typetriplet-compareto.md)
- [IEquatable<TypeTriplet>.Equals](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetriplet/system-iequatable-grasshopper2-types-typetriplet-equals.md)
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetriplet/tostring.md): Returns a string that represents the current object.
