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 1234import 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