array of strings join c# code example
Example 1: c# list join
List<string> names = new List<string>() { "John", "Anna", "Monica" };
var result = String.Join(", ", names.ToArray());
Example 2: c# join string array
var combined = String.Join(",", new String[]{"a","b"});
// a,b
Example 3: c# array.join
String Array...
AB
BC
CD
DE
EF
FG
GH
IJ
Result (after joining) = AB*BC*CD*DE*EF*FG*GH*IJ