Here is my code
private static ArrayList GetFirstObjectFromDictionary(Dictionary<string, string> dictionary)
{
foreach (ArrayList arr in dictionary.Values) //error
{
return arr;
}
return null;
}
It causes error "Cannot convert type 'string' to 'System.Collections.ArrayList'".