public string GetString(char ItemSeparator, char ElemntSeparator) { KeyValPair kvp = new KeyValPair(ItemSeparator, ElemntSeparator); int n = this.Count; for (int i = 0; i < n; i++) { kvp.Add(GetKey(i), GetVal(i)); } return(kvp.GetStr()); }