Created
May 1, 2019 14:17
-
-
Save thebitbrine/4bfd8d870b2d3b726bd1392da20e7b7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public string[] AddToArray(ref string[] Array, string Value) | |
{ | |
System.Array.Resize(ref Array, Array.Length + 1); | |
Array[Array.Length - 1] = Value; | |
return Array; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment