# ToString(T)

> Provides a string representation of a type.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.UIElements](/engine/6000.0/script-reference/unityeditor/uielements.md)
* **Assembly:** UnityEditor

```csharp
public virtual string ToString(T value)
```

### Parameters

**** (T): The value to be converted into a string.

### Returns

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

### Remarks

Returns a string that represents a type and its values.
