contains arraylist c# code example
Example: c# arraylist contains
IList arList = new ArrayList();
arList.Add(100);
arList.Add("Hello World");
arList.Add(300);
Console.WriteLine(arList.Contains(100)); // true
IList arList = new ArrayList();
arList.Add(100);
arList.Add("Hello World");
arList.Add(300);
Console.WriteLine(arList.Contains(100)); // true