0
comment
on 8/8/2009 4:17 AM
I stumbled across a collection type the other day that was implemented with .NET 2.0. This, like many other things in 2.0 slipped past me completely until now. This collection type offers a solution to a common problem; How do you expose the collections in your class but prevent the consumer from modifying them? This is a "problem" with all reference types really, but often it is desirable to expose your collections to consumers. To illustrate this problem consider the following class:   public class [...]
>> Read the full article on www.pinksquirrellabs.com
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper