> 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.4/api/csharp/yarn/yarn.program/yarn.program.combine.md).

# Combine(Program\[])

Method in [Program](/2.4/api/csharp/yarn/yarn.program.md)

## Summary

Creates a new Program by merging multiple Programs together.

```csharp
public static Program Combine(params Program[] programs)
```

## Remarks

The new program will contain every node from every input program.

## Parameters

| Name                                                              | Description                       |
| ----------------------------------------------------------------- | --------------------------------- |
| [Yarn.Program\[\]](/2.4/api/csharp/yarn/yarn.program.md) programs | The Programs to combine together. |

## Returns

The new, combined program.
