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

Code Example 1

var list = new List<string>();
list.Add("Hello");

Code Example 2

static void Main()
{
    // Add first 4 numbers to the List.
    List<int> primes = new List<int>();
    primes.Add(2);
    primes.Add(3);
    primes.Add(5);
    primes.Add(7);
}

Learn ReactJs, React Native from akashmittal.com