how to return an array in c# code example
Example: how to return array in function c#
static string[] GetNames()
{
return new [] { "Matthew", "Mark", "Luke", "John" };
}
static string[] GetNames()
{
return new [] { "Matthew", "Mark", "Luke", "John" };
}