# ToString()

> Returns a managed string of the component type

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

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

### Returns

| Type                                                           | Description                    |
| -------------------------------------------------------------- | ------------------------------ |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | A string of the component type |
