# ToString()

> Returns a readable string describing this reference.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Localization](/engine/6000.7/script-reference/unity/localization.md)
* **Assembly:** UnityEngine.LocalizationRuntimeModule

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

### Returns

| Type                                                           | Description                                    |
| -------------------------------------------------------------- | ---------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | A human-readable description of the reference. |

### Remarks

Formats a GUID reference as "Guid:" followed by the GUID, a name reference as the name itself, and an empty reference as \\\<none\\>. Intended for debugging and logging.

Log the reference for debugging.

### Examples

```csharp
using Unity.Localization;
using UnityEngine;

namespace Unity.Localization.Samples
{
    public class TableReferenceToStringExample
    {
        public void Run(TableReference reference)
        {
            Debug.Log(reference.ToString());
        }
    }
}
```
