Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to return array in function c#

static string[] GetNames()
        {
            return new [] { "Matthew", "Mark", "Luke", "John" };
            
        }
 
PREVIOUS NEXT
Tagged: #return #array #function
ADD COMMENT
Topic
Name
9+1 =