dotnet push to arrays code example
Example 1: c# add to array
var Freds = new [] { "Fred", "Freddy" };
Freds = Freds.Concat(new [] { "Frederick" }).ToArray();
Example 2: c# push numbers to array
List<int> add_list= new List<int>();
for (int i = 0; i < 400; i++)
{
add_list.Add(value);
}