Monday, February 04, 2008 9:21 AM
Immutable Collection (Secure Proxy Pattern) Example
Mr. Mo has wrote a nice post about securing collection and turning it into an immutable object. I am adding my 20 cents by reminding a great example JP Boodhoo has showed during his "Nothin But .NET" training session, leveraging ReadOnlyCollection<T> class to make a collection immutable.
Filed under: .NET, Patterns