> 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.optionset/yarn.optionset.option/yarn.optionset.option.id.md).

# ID

Property in [Option](/2.0/api/csharp/yarn/yarn.optionset/yarn.optionset.option.md)

## Summary

Gets the identifying number for this option.

```csharp
public int ID { get; private set; }
```

## Remarks

When the user selects this option, this value should be used as the parameter for [SetSelectedOption(int)](/2.0/api/csharp/yarn/yarn.dialogue/yarn.dialogue.setselectedoption.md) .
