Check out example codes for "c# arraylist". It will help you in understanding the concepts better.
Code Example 1
ArrayList arrList = new ArrayList()
Code Example 2
ArrayList a1 = new ArrayList();
a1.Add(1);
Learn ReactJs, React Native from akashmittal.com