toString
Summary
Converts the 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 byte
value.
Description
Converts the byte
value to an equivalent string
value.
For instance, 123
will become "123"
.
Examples
1 2 3 4 5 6 | import System; byte a = 1; byte b = 2; Console.log(a.toString()); // "1" Console.log(b.toString()); // "2" |
1 2 3 4 5 6 | import System; byte a = 1; byte b = 2; Console.log(a.toString() + b.toString()); // "12" Console.log(a.toString() + ", " + b.toString()); // "1, 2" |
Share
HTML | BBCode | Direct Link