c sharp function return array 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" };
}