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