This example uses arraylist.TrimSize; note that TrimSize function adjusted the capacity to the exact length of each string, whether it is a letter, word or a sentence., TrimSize treats as a string. From 8 it was trimmed to 5. Stays at minimum level ( 1st trimmed size).

using System;
using System.Collections;
//csc arraylist_Trim_clear.cs
namespace ex_arraylist
{
public class alist
{
ArrayList myAL = new ArrayList();
public string sta1 = "";
public string sta2 = "";
public string sta3 = "";
public string sta4 = "";
public string sta5 = "";
public void procss()
{
Console.WriteLine("--Existing Players - " );
// Creates and initializes a new Queue.
//load players name to added
Console.WriteLine("--data - New Players added - " );
Console.Write("Word 1: " );
sta1 = Console.ReadLine();
myAL.Add(sta1);
Console.Write("Word 2: " );
sta2 = Console.ReadLine();
myAL.Add(sta2);
Console.Write("Word 3: " );
sta3 = Console.ReadLine();
myAL.Add(sta3);
Console.Write("Word 4: " );
sta4 = Console.ReadLine();
myAL.Add(sta4);
Console.Write("Word 5: " );
sta5 = Console.ReadLine();
myAL.Add(sta5);
Console.WriteLine("Pre Trim All Counts :" + myAL.Count + " capacity : " + myAL.Capacity);
read(myAL,'\t');
// Trim the ArrayList again.
myAL.TrimToSize();
Console.WriteLine("Post Trim All Counts :" + myAL.Count + " capacity : " + myAL.Capacity);
myAL.TrimToSize();
Console.WriteLine("2nd Trim All Counts :" + myAL.Count + " capacity : " + myAL.Capacity);
myAL.Clear();
myAL.TrimToSize();
Console.WriteLine("Clear All Counts :" + myAL.Count + " capacity : " + myAL.Capacity);
//String[] myArr = (String[]) myAL.ToArray( typeof( string ) );
Console.WriteLine("---Data copied from ArrayList to StringList--");
String[] myStAr = (String[]) myAL.ToArray(typeof(string));
read(myAL, '\t');
} //end of method
public void read(IEnumerable em, char sep)
{
foreach ( Object obj in em )
Console.Write( "{0}{1}", obj,sep );
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