可以foreach的 必须继承IEnumable 接口才行

只要是继承IEnumable 都可以用foreach遍历

猜你喜欢

转载自www.cnblogs.com/uftwkb24/p/9245170.html