c# push numbers to array

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

Source

Also in C#: