我对这个问题很困惑,无法理解。在Enumerable文档中,我读到了这个:
实现 System.Collections.Generic.IEnumerable
还有一些方法,比如Select()returnIEnumerable<TSource>我们可以从其他方法中使用,比如Where()在使用 that.for 之后:
names.Select(name => name).Where(name => name.Length > 3 );
但Enumerable不继承IEnumerable<T>也不IEnumerable<T>包含Select(),Where()等等...
我错了吗?
或存在任何理由吗?