# IntegerExtensionMethods.Without<T> examples

Examples for [Without<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.integerextensionmethods/without.md) in Grasshopper2.Extensions.IntegerExtensionMethods.

## C#

```cs
using Grasshopper2.Extensions;

// As an extension method
T result = flags.Without(flag);

// As a static method
result = IntegerExtensionMethods.Without(flags, flag);
```

## Python

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

# As an extension method
result = flags.Without(flag)

# As a static method
result = Grasshopper2.Extensions.IntegerExtensionMethods.Without(flags, flag)
```
