You can use KeyValuePair for reach dictionary's items.
private static ArrayList GetFirstObjectFromHashTable(Dictionary<string, string> dictionary)
{
ArrayList aLst = new ArrayList();
foreach (KeyValuePair<string, string> pair in dictionary)
{
aLst.Add(pair.Value);
}
return aLst;
}
This page might help you to understand foreach using with dictionaries.