array in c# add value code example
Example 1: c# how to append in array
List<string> ls = new List<string>();
ls.Add("Hello");
Example 2: c# how to append in array
int[] terms;
for(int runs = 0; runs < 400; runs++)
{
terms[] = runs;
}
List<string> ls = new List<string>();
ls.Add("Hello");
int[] terms;
for(int runs = 0; runs < 400; runs++)
{
terms[] = runs;
}