阅读背景:

Class是否需要实现IEnumerable才能使用Foreach

来源:互联网 

This is in C#, I have a class that I am using from some else's DLL. It does not implement IEnumerable but has 2 methods that pass back a IEnumerator. Is there a way I can use a foreach loop on these. The class I am using is sealed.This is in C#, I have a class that I am using f




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: