toString

Summary

Converts the unsigned int 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 unsigned int value.

Description

Converts the unsigned int value to an equivalent string value.

For instance, 123 will become "123".

Examples

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

Share

HTML | BBCode | Direct Link