📅  最后修改于: 2022-03-11 14:48:49.946000             🧑  作者: Mango
// How to display an array on the same line:
string[] names = {"name1", "name2", "name3"}
Console.WriteLine("{0}", string.Join(", ", names));