SyntaxFix
Write A Post
Hire A Developer
Questions
ICollection<T> is used because the IEnumerable<T> interface provides no way of adding items, removing items, or otherwise modifying the collection.
ICollection<T>
IEnumerable<T>