csharp object list to joined string
Code Example - csharp object list to joined string
using System.Linq
string.Join(",", people.Select(x => x.surname))
using System.Linq
string.Join(",", people.Select(x => x.surname))