C#

1.能用foreach遍历访问的对象需要实现

答:需要实现IEnumerable接口

原文地址:https://www.cnblogs.com/nh34546/p/13454235.html