list to string array c# code example
Example 1: c# list to string
List<string> names = new List<string>() { "John", "Anna", "Monica" };
string result = string.Join(",", names.ToArray());
Example 2: c# array to list
var intArray = new[] { 1, 2, 3, 4, 5 };
var list = new List<int>(intArray);
Example 3: C# array to string
string.Join(",", Client);