string cities_string = cities.Aggregate(new StringBuilder(), (sb, c) => { if (0 != sb.Length) sb.Append(", "); sb.Append(c.Name); return sb; }, sb => sb.ToString());
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)