csating a list to string c# code example
Example 1: c# convert list to string
string combindedString = string.Join( ",", myList.ToArray() );
Example 2: c# list to string
using System.Linq;
string str = list.Aggregate((x, y) => x + ',' + y);
string combindedString = string.Join( ",", myList.ToArray() );
using System.Linq;
string str = list.Aggregate((x, y) => x + ',' + y);