IEnumerable — read-only iteration. ICollection — read/write with count.
IEnumerable:
ICollection:
1// IEnumerable2IEnumerable<int> query = list.Where(x => x > 5);34// ICollection5ICollection<int> collection = new List<int> { 1, 2, 3 };6collection.Add(4);7collection.Remove(1);8bool hasTwo = collection.Contains(2);
Key: IEnumerable for iteration, ICollection for manipulation.