Check out example codes for "c# append array". It will help you in understanding the concepts better.

Code Example 1

List<int> termsList = new List<int>();
for (int runs = 0; runs < 400; runs++)
{
    termsList.Add(value);
}

// You can convert it back to an array if you would like to
int[] terms = termsList.ToArray();

Code Example 2

var Freds = new [] { "Fred", "Freddy" };
Freds = Freds.Concat(new [] { "Frederick" }).ToArray();

Code Example 3

List<int> add_list= new List<int>();
for (int i = 0; i < 400; i++)
{
   add_list.Add(value);
}

Learn ReactJs, React Native from akashmittal.com