list.tostring tojoin code example Example: c# object list to joined string using System.Linq string.Join(",", people.Select(x => x.surname))