toString

Summary

Converts the signed byte value to an equivalent string value.

Signatures

Click on a signature to select it and view its documentation.

Usage

public string toString()

Returns

The equivalent string value for the signed byte value.

Description

Converts the signed byte value to an equivalent string value.

For instance, 123 will become "123".

Examples

Basic Usage
1
2
3
4
5
6
import System;
 
signed byte a = 1;
signed byte b = 2;
Console.log(a.toString()); // "1"
Console.log(b.toString()); // "2"
Concatentation of Stringified Values
1
2
3
4
5
6
import System;
 
signed byte a = 1;
signed byte b = 2;
Console.log(a.toString() + b.toString());       // "12"
Console.log(a.toString() + ", " + b.toString()); // "1, 2"

Share

HTML | BBCode | Direct Link