I'm designing some interfaces to use ReadOnlyCollection<T>
to indicate that consumers of those interfaces can only read from the collection.
The collection supplied however isn't immutable, and will change from time to time, and I'm wondering if I'm having a wrong design. Should children of a ReadOnlyCollection<T>
be immutable as well?