Lets say I have an array (or list) of items
A[] = [a,b,c,d,e]
If I want to print them out so each item is separated by a comma (or any othe
You are looking for String.Join():
var list = String.join(",", A);
String.Join Method (String, String[]) Concatenates all the elements of a string array, using the specified separator between each element. public static string Join( string separator, params string[] value )
String.Join Method (String, String[])
String.Join
(String, String[])
Concatenates all the elements of a string array, using the specified separator between each element.
public static string Join( string separator, params string[] value )