C# String ToString()

The C# ToString() method is used to get instance of String.

Signature

Parameter

It does not any parameter.

Return

It returns a string object.


C# String ToString() Method Example

Output:

Hello C#
123




Latest Courses