Check out example codes for "csharp create array list". It will help you in understanding the concepts better.

Code Example 1

ArrayList a1 = new ArrayList();
a1.Add(1);

Learn ReactJs, React Native from akashmittal.com