# ToString()

> Returns a new managed string that is a 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 new managed string that is a copy of this string. |
