public string GetHistoryCode() { string historyCode = String.Empty; foreach (var item in _history) { historyCode += String.Format("%7C{0}%3A{1}", item.SongID, item.TypeCode); } return historyCode; }