c# list to string array 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 string
string.Join(",", Client);
List<string> names = new List<string>() { "John", "Anna", "Monica" };
string result = string.Join(",", names.ToArray());
string.Join(",", Client);