# SetValue(string,string)

Method in [IVariableStorage](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.ivariablestorage)

## Summary

Stores a `string` in this VariableStorage.

```csharp
void SetValue(string variableName, string stringValue);
```

## Parameters

| Name                  | Description                               |
| --------------------- | ----------------------------------------- |
| `string` variableName | The name to associate with this variable. |
| `string` stringValue  | The string to store.                      |
