How do I implement IEnumerable in my Dictionary wrapper class that implements IEnumerable?

后端 未结 7 2053
走了就别回头了
走了就别回头了 2021-02-08 12:56

I\'m trying to create a wrapper for a Dictionary.

Dictionary implements IEnumerable

7条回答
  •  渐次进展
    2021-02-08 13:37

    When you implement the generic IEnumerable interface, you also have to implement the non generic IEnumerable interface. The error is about the missing non generic method.

提交回复
热议问题