Use separator when joining string attributes

This commit is contained in:
Vijay Santhanam 2015-12-07 23:30:00 +11:00
parent 20972c46d6
commit 380c6e4c6f

View File

@ -20,7 +20,7 @@ namespace SpotifyAPI.Web
List<String> list = new List<String>(); List<String> list = new List<String>();
attributes.ToList().ForEach(element => list.Add(element.Text)); attributes.ToList().ForEach(element => list.Add(element.Text));
return string.Join(" ", list); return string.Join(separator, list);
} }
} }
@ -33,4 +33,4 @@ namespace SpotifyAPI.Web
Text = text; Text = text;
} }
} }
} }