toString

Summary

Returns a string representation of the dictionary object.

Usage

public override string toString()

Returns

A string representation of the dictionary and its keys and values.

Description

Returns a string representation of the dictionary and its keys and values.

Examples

Basic Usage
1
2
3
4
import System;
 
Dictionary<int> dict = { a: 1, b: 2, c: 3 };
Console.log(dict.toString()); // { "a": 1, "b": 2, "c": 3 }

Share

HTML | BBCode | Direct Link