# ToString()

> Returns a managed string copy of this string.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
[ExcludeFromBurstCompatTesting("Returns managed string")]
public override string ToString()
```

### Returns

| Type                                                           | Description                           |
| -------------------------------------------------------------- | ------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | A managed string copy of this string. |
