# Prose.RemoveCsComments examples

Examples for [RemoveCsComments](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose/removecscomments.md) in Grasshopper2.Prose.

## C#

```cs
using Grasshopper2;

// As an extension method
string result = code.RemoveCsComments();

// As a static method
result = Prose.RemoveCsComments(code);
```

## Python

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

# As an extension method
result = code.RemoveCsComments()

# As a static method
result = Grasshopper2.Prose.RemoveCsComments(code)
```
