c# list of simple objects to single string code example
Example 1: c# object list to joined string
using System.Linq
string.Join(",", people.Select(x => x.surname))
Example 2: how to convert list of string to single string in c#
string Something = string.Join(",", MyList);
List<string> names = new List<string>() { "John", "Anna", "Monica" };
var result = String.Join(", ", names.ToArray());