Possible Duplicate:
Immutable List in C#
Is it possible to make a list immutable
Possible Duplicate:
Immutable List in C#
Is it possible to make a list immutable
You can use ReadOnlyCollection<T>
instead.
List<T>.AsReadOnly
() returns a readonly wrapper, so that you can't add/remove/replace elements.
To be truly immutable, the type T must be an immutable Type.