# Prose.MaskCsCode examples

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

## C#

```cs
using Grasshopper2;

// As an extension method
Prose.Mask result = code.MaskCsCode(lineComments, blockComments, charLiterals, stringLiterals);

// As a static method
result = Prose.MaskCsCode(code, lineComments, blockComments, charLiterals, stringLiterals);
```

## Python

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

# As an extension method
result = code.MaskCsCode(line_comments, block_comments, char_literals, string_literals)

# As a static method
result = Grasshopper2.Prose.MaskCsCode(code, line_comments, block_comments, char_literals, string_literals)
```
