C
cody
Hi! It's great that Arrays and List<T> support functions that use
predicates like TrueForAll(), ConvertAll(), Foreach() and so on.
But why are there no such methods for IEnumerable<T>?
The guidelines say that we should not work with implementations like
List<T> but instead only with interfaces like IList<T> so theoretically
we never could use this handy methods..
predicates like TrueForAll(), ConvertAll(), Foreach() and so on.
But why are there no such methods for IEnumerable<T>?
The guidelines say that we should not work with implementations like
List<T> but instead only with interfaces like IList<T> so theoretically
we never could use this handy methods..