# LibTmux.TmuxCommand.Create

- **Module:** LibTmux.TmuxCommand
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Chaining/TmuxCommand.cs#L68
- **Page:** https://libtmux.org/reference/dotnet/libtmux-tmuxcommand-create/

```
LibTmux.TmuxCommand.Create(name: string, string[]: string, arguments) -> TmuxCommand
```

Creates a command from its name and arguments.

## Parameters

- `name` (string) — The tmux command name.
- `string[]` (string)
- `arguments` — Its arguments.

## Returns

The command.

## Raises

- `ArgumentException` — The name is empty, an argument is null, or a token contains NUL.
