# toString()

> The equivalent of the java.lang.Object toString() method.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AndroidJNIModule

```csharp
public virtual string toString()
```

### Returns

| Type                                                           | Description                    |
| -------------------------------------------------------------- | ------------------------------ |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | Returns C# class name + " `".` |
