push item to array c# code example
Example 1: c# push numbers to array
List<int> add_list= new List<int>();
for (int i = 0; i < 400; i++)
{
add_list.Add(value);
}
Example 2: add item to an array c#
List<string> l = new List<string>(){"one","two","tree","four",};