Answer
IEnumerable supports iteration only; ICollection adds Count/Add/Remove; IList adds indexed access and Insert. Accept the least specific type your method needs.
void Print(IEnumerable<int> xs) {}
int First(IList<int> xs) => xs[0];Real-world example Accepting IEnumerable<T> in APIs keeps callers flexible (arrays, lists, LINQ).