Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToString(T)

Provides a string representation of a type.
Read time 1 minuteLast updated 17 days ago

Definition

public virtual string ToString(T value)

Parameters

value

T
The value to be converted into a string.

Returns

Type

Description

stringA string representation of the type.

Remarks

Returns a string that represents a type and its values.