convert object list to query string in C# code example
Example: c# 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))