} // GetItem public virtual string ToFormattedString() { var tbl = new SortedTable <string, string, string>(); foreach (var pair in this.data) { string key = pair.Key.ToString(); foreach (var pp in pair.Value) { tbl[key, pp.Key.ToString()] = pp.Value == null ? "- null -" : pp.Value.Value.ToString("N6", CultureInfo.InvariantCulture); } // for each column } // for each return(tbl.ToFormattedString()); } // ToFormattedString