Is there a problem with using IEnumerable as a return type?
FxCop complains about returning List (it advises returning Coll
Returning IEnumerable
But as others point out, it has the drawback that the caller may need to enumerate if he needs any other info (for example Count). The .NET 3.5 extension method IEnumerable
I often return IList