> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/2.0/api/csharp/yarn/yarn.program.md).

# Program

Class in [Yarn](/2.0/api/csharp/yarn.md)

Inherits from `System.Object`

## Summary

A compiled Yarn program.

```csharp
public class Program
```

## Methods

| Name                                                                              | Description                                                  |
| --------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| [Combine(Program\[\])](/2.0/api/csharp/yarn/yarn.program/yarn.program.combine.md) | Creates a new Program by merging multiple Programs together. |
| [ToString()](/2.0/api/csharp/yarn/yarn.program/yarn.program.tostring.md)          |                                                              |

## Properties

| Name                                                                             | Description                                                                                                                                                |
| -------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [InitialValues](/2.0/api/csharp/yarn/yarn.program/yarn.program.initialvalues.md) | The collection of initial values for variables; if a PUSH\_VARIABLE instruction is run, and the value is not found in the storage, this value will be used |
| [Name](/2.0/api/csharp/yarn/yarn.program/yarn.program.name.md)                   | The name of the program.                                                                                                                                   |
| [Nodes](/2.0/api/csharp/yarn/yarn.program/yarn.program.nodes.md)                 | The collection of nodes in this program.                                                                                                                   |
