# SimpleArrayInt 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 SimpleArrayInt : IDisposable
```

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

## Constructors

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

## Finalizer

- [~SimpleArrayInt](https://developer.rhino3d.com/api/rhinocommon/type/rhino.runtime.interopwrappers.simplearrayint/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.simplearrayint/count.md): Gets the amount of elements in this array.

## Methods

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