# ToString()

> Returns the string representation of this variable's value.

## Definition

* **Type:** Method
* **Namespace:** [Unity.SmartStrings.PersistentVariables](/engine/6000.7/script-reference/unity/smartstrings/persistentvariables.md)
* **Assembly:** UnityEngine.SmartStringsModule

```csharp
public override string ToString()
```

### Returns

| Type                                                           | Description                                 |
| -------------------------------------------------------------- | ------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The variable's value converted to a string. |
