Check out example codes for "c# arraylist contains". It will help you in understanding the concepts better.
Code Example 1
IList arList = new ArrayList();
arList.Add(100);
arList.Add("Hello World");
arList.Add(300);
Console.WriteLine(arList.Contains(100)); // true
Learn ReactJs, React Native from akashmittal.com