📜  在c#代码示例中加入数组元素

📅  最后修改于: 2022-03-11 14:48:44.611000             🧑  作者: Mango

代码示例1
public static string Join(string separator, params obj[] array);

object[] array = {"Hello", 12345, 786};

string s1 = string.Join(", ", array);