how to return array in c# method 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" };
}