In many places in our code we have collections of objects, from which we need to create a comma-separated list. The type of collection varies: it may be a DataTable from whi
In .NET 4 you can just do string.Join(", ", table.Rows.Select(r => r["title"]))
string.Join(", ", table.Rows.Select(r => r["title"]))