# ToString()

> Returns a string representation of the ProfilerCounterDescriptor.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Profiling.Editor](/engine/6000.7/script-reference/unity/profiling/editor.md)
* **Assembly:** UnityEditor.CoreModule

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

### Returns

| Type                                                           | Description                                             |
| -------------------------------------------------------------- | ------------------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | A formatted string in the format "Name (CategoryName)". |

### Remarks

Provides a human-readable string representation of the descriptor, combining the counter name and category name.

Additional Resources: [ProfilerCounterDescriptor](/engine/6000.7/script-reference/unity/profiling/editor/profilercounterdescriptor.md).
