Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

return array in c#

public static string[] Person_Info(string firstname, string middlename, string lastname, string age, string birthdate)
        {
            return new[]
            {
            firstname,
            middlename,
            lastname,
            age,
            birthdate
            };
        }
 
PREVIOUS NEXT
Tagged: #return #array
ADD COMMENT
Topic
Name
7+2 =