process arrays having  "Hastable", or String[]" entries.
Salient word on this page: String[], CopyTo (from Hashtable to String[]), IEnumerable, DictionaryEntry

using System;
using System.Collections;
//csc array_howto_iteration.cs
namespace ex_toarray
{
public class alist
{
//ArrayList al = new ArrayList();
public string sta1 = "";
public string sta2 = "";
public string sta3 = "";
public string sta4 = "";
public static int n1 = 0;
public void procss()
{

Console.WriteLine("--This is an example of using hastable - " );
Console.WriteLine("--View with DictionaryEntry - " );
Console.WriteLine("--Copy Hastable Data to string[] - " );
Console.WriteLine("--Then View with string[] and Enumerable em parameters--- " );
// Creates and initializes a new Queue.
Hashtable myHT = new Hashtable();
myHT.Add("a", "Baba" );
myHT.Add("b","Lugo" );
myHT.Add("c","Patrick");
myHT.Add("d","Jacob" );
//display through read
Hashtable.Synchronized(myHT);
HT_dic(myHT, '\t');

String[] myT = new String[15];
Console.Write("Player's Name 1: " );
sta1 = Console.ReadLine();
myT[0]= sta1;
Console.Write("Player's Name : " );
sta2 = Console.ReadLine();
myT[1]=sta2;
Console.Write("Player's Name 3: " );
sta3 = Console.ReadLine();
myT[2]=sta3;
Console.Write("Player's Name 4: " );
sta4 = Console.ReadLine();
myT[3]=sta4;
Console.WriteLine("All Counts :" + myT.Length);
Console.WriteLine("--copy keys--to a string--uisng CopyTo---");
myHT.Keys.CopyTo( myT, 4 );
// a string[] can be enumerated using IEnuerable
//not Hastable being different catagory of objects
read(myT," ");
read_em(myT," ");

} //end of method
public void HT_dic(Hashtable ht, char sep ){
Console.WriteLine("Entered HT_dic(Hashtable ht) area---");
foreach ( DictionaryEntry de in ht)
{ Console.WriteLine("{0}{1}{2}", de.Key, sep, de.Value); }
}

public void read(string[] str, string sep )
{
Console.WriteLine("Entered read string[] area---");
foreach (string s in str )
Console.Write( "{0}{1}", s,sep );
Console.WriteLine(); }
public void read_em(IEnumerable em, string sep)
{
Console.WriteLine("Entered read(IEnumerable em) area---");
foreach ( Object obj in em )
Console.Write( "{0}{1}", obj,sep );
}
}
//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