Create arraylist
Create an ArrayList and add three elements.
using System.Collections;
class Program
{
static void Main()
{
ArrayList list = new ArrayList();
list.Add("One");
list.Add("Two");
list.Add("Three");
}
}