# GH_SourceCodeLines class

Namespace: [Grasshopper.GUI](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_SourceCodeLines : List<GH_SourceCodeLine>
```

Represents a collection of source code lines.

## Properties

- [Blocks](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-sourcecodelines/blocks.md): Break this collection of lines into distinct blocks.

## Methods

- [Add](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-sourcecodelines/add.md)
- [FindNthBlock](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-sourcecodelines/findnthblock.md): Find the Nth block of source code lines that adheres to the given parameters.
- [GetLines](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-sourcecodelines/getlines.md)
- [StringSplit](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-sourcecodelines/stringsplit.md): (static) Splits a string into substrings.
