# SimpleArray2dex class

Namespace: [Rhino.Runtime.InteropWrappers](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.runtime.interopwrappers.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class SimpleArray2dex : IDisposable
```

Wrapper for ON_SimpleArray<ON_2dex>. If you are not writing C++ code then this class is not for you.

## Constructors

- [SimpleArray2dex](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearray2dex/ctor.md): (2 overloads) Initializes a new [SimpleArray2dex](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearray2dex.md) class.

## Finalizer

- [~SimpleArray2dex](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearray2dex/finalize.md): Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().

## Properties

- [Count](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearray2dex/count.md): Gets the amount of elements in this array.

## Methods

- [ConstPointer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearray2dex/constpointer.md): Gets the constant (immutable) pointer of this array.
- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearray2dex/dispose.md): Actively reclaims unmanaged resources that this instance uses.
- [NonConstPointer](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearray2dex/nonconstpointer.md): Gets the non-constant pointer (for modification) of this array.
- [ToArray](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearray2dex/toarray.md): Returns the managed counterpart of the unmanaged array.
