Array List one the class from system collection. (Link)

using System;
using System.Collections;
//csc arraylist_add.cs
namespace ex_arraylist
{
public class alist
{
ArrayList al = new ArrayList();
public string sta1 = "";
public string sta2 = "";
public string sta3 = "";
public string sta4 = "";
public void procss()
{
Console.WriteLine("--data set -1-- " );
Console.Write("Enter Name 1: " );
sta1 = Console.ReadLine();
al.Add(sta1);
Console.Write("Enter Pwd 2: " );
sta2 = Console.ReadLine();
al.Add(sta2);
Console.Write("Enter Name 3: " );
sta3 = Console.ReadLine();
al.Add(sta3);
Console.Write("Enter Pwd 4: " );
sta4 = Console.ReadLine();
al.Add(sta4);
Console.WriteLine("All Counts :" + al.Count);
read(al);
} //end of method
public void read(IEnumerable em)
{
foreach ( Object obj in em )
Console.Write( " {0}", obj );
Console.WriteLine();
}
}
//end of arrylist class
class test
{

static void Main(string[] str)
{Console.Write("Enter a word a evry steps :");
alist at = new alist();
at.procss();
Console.ReadLine();
}//end of the class list
}
}//end of namespace