I found the default implemtation of ToString in the dictionary is not what I want. I would like to have {key=value, ***}.
{key=value, ***}
Any handy way to get it?
You can loop through the Keys of the Dictionary and print them together with the value...
public string DictToString(Dictionary dict) { string toString = ""; foreach (string key in dict.Keys) { toString += key + "=" + dict[key]; } return toString; }