# ArrayEx.Withdraw<T> examples

Examples for [Withdraw<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.arrayex/withdraw.md) in Grasshopper2.Extensions.ArrayEx.

## C#

```cs
using Grasshopper2.Extensions;

// As an extension method
array.Withdraw(index);

// As a static method
ArrayEx.Withdraw(array, index);
```

## Python

```python
import clr
clr.AddReference('Grasshopper2')
import Grasshopper2.Extensions
clr.ImportExtensions(Grasshopper2.Extensions)

# As an extension method
array.Withdraw(index)

# As a static method
Grasshopper2.Extensions.ArrayEx.Withdraw(array, index)
```
