.Net Linq - Join together all item of a List
- by Melursus
How can I write a Linq expression that select item from a List and join them together ?
Example
IList<string> data = new List<string>();
data.Add("MyData1");
data.Add("MyData2");
string result = //some linq query... I try data.Select(x => x + ",");
//result = "MyData1, MyData2"