📜  如何在函数c#代码示例中返回数组

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

代码示例1
static string[] GetNames()
        {
            return new [] { "Matthew", "Mark", "Luke", "John" };
            
        }