# RectangleExtensionMethods.Right examples

Examples for [Right](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.rectangleextensionmethods/right.md) in Grasshopper2.Extensions.RectangleExtensionMethods.

## C#

```cs
using Grasshopper2.Extensions;

// As an extension method
RectangleF result = rectangle.Right();

// As a static method
result = RectangleExtensionMethods.Right(rectangle);
```

## Python

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

# As an extension method
result = rectangle.Right()

# As a static method
result = Grasshopper2.Extensions.RectangleExtensionMethods.Right(rectangle)
```
