# NTuple 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
[IoId("00000000-383b-45f5-af4a-69f0c397db09")]
public sealed class NTuple : IStorable, IEquatable<NTuple>, IComparable<NTuple>
```

A combination of one or more named values.

## Constructors

- [NTuple](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/ctor.md): (2 overloads)

## Properties

- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/count.md): Gets the number of elements.
- [Elements](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/elements.md): Enumerate over all elements.
- [Empty](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/empty.md): (static)

## Methods

- [CompareTo](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/compareto.md)
- [Equals](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/equals.md): (2 overloads)
- [Get<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/get.md): Get the value if defined.
- [GetHashCode](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/gethashcode.md)
- [Grow](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/grow.md): (9 overloads) Add a value to this tuple.
- [IndexOf](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/indexof.md): Find the index of the element with the given name.
- [IsValidName](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/isvalidname.md): (static) Validate the name for a tuple element. Names may not contain wildcard characters.
- [Name](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/name.md): Gets the name of the element at the given index.
- [Pare](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/pare.md): Remove the elements from this tuple with the given name.
- [PareWildcard](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/parewildcard.md): Remove all elements from this tuple which match the given name pattern.
- [Pear](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/pear.md): Gets the name of the element at the given index.
- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/store.md)
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/tostring.md)
- [TryGet<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/tryget.md): Try and retrieve the value if defined.

## Operators

- [operator +](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/op-addition.md): (9 overloads, static)
- [operator -](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.ntuple/op-subtraction.md): (static)
