> 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/api/csharp/yarn/yarn.variablekind.md).

# VariableKind

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

Inherits from `System.Enum`

## Summary

Represents different kinds of variables that can be fetched from a [Dialogue](/api/csharp/yarn/yarn.dialogue.md) using [TryGetValue\<T>(string,T?)](/api/csharp/yarn/yarn.ivariableaccess/yarn.ivariableaccess.trygetvalue.md) .

```csharp
public enum VariableKind
{
    Unknown,
    Stored,
    Smart
}
```

## Members

| Name                                                                       | Description                                                                       |
| -------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [Smart](/api/csharp/yarn/yarn.variablekind/yarn.variablekind.smart.md)     | The variable's value is computed at run-time, and is not persisted to disk.       |
| [Stored](/api/csharp/yarn/yarn.variablekind/yarn.variablekind.stored.md)   | The variable's value is stored in memory, and may be persisted to disk.           |
| [Unknown](/api/csharp/yarn/yarn.variablekind/yarn.variablekind.unknown.md) | The kind of the variable cannot be determined. It may not be known to the system. |
