There is ReadOnlyCollection<T>, which is the generic version of the above.
You can create one from a List<T> directly by calling list.AsReadOnly().
There is ReadOnlyCollection<T>, which is the generic version of the above.
You can create one from a List<T> directly by calling list.AsReadOnly().