I\'m trying to create a wrapper for a Dictionary.
Dictionary
Dictionary implements IEnumerable
IEnumerable
As long as generic IEnumerable{T} inherit IEnumerable You have to implement IEnumerable.GetEnumerator() as well. You can do it explicitly like:
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator() { return GetEnumerator(); }