public void Enumerate(IDictionary dic) { foreach (DictionaryEntry de in dic) { object o = de.Key; } }