public static string Join(string separator, params obj[] array)
{
//
}
object[] array = {"Hello", "Geeks", 12345, 786};
string s1 = string.Join(", ", array);
List<string> names = new List<string>() { "John", "Anna", "Monica" };
var result = String.Join(", ", names.ToArray());