toString

Summary

Returns the string value.

Usage

public override string toString()

Returns

The string value held by the System.String object.

Description

Returns the string value.

Examples

Basic Usage
1
2
3
4
import System;
 
string s = "How are you?";
Console.log(s.toString()); // "How are you?"

Share

HTML | BBCode | Direct Link