Skip to content

Instantly share code, notes, and snippets.

@thebitbrine
Created May 1, 2019 14:17
Show Gist options
  • Save thebitbrine/4bfd8d870b2d3b726bd1392da20e7b7b to your computer and use it in GitHub Desktop.
Save thebitbrine/4bfd8d870b2d3b726bd1392da20e7b7b to your computer and use it in GitHub Desktop.
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