List and ReadOnly property

Posted by Luca on Stack Overflow See other posts from Stack Overflow or by Luca
Published on 2010-05-27T20:29:02Z Indexed on 2010/05/27 20:31 UTC
Read the original article Hit count: 231

Filed under:
|
|

List (and List) instances can be readonly, seeing ReadOnly property; methods throws exceptions in the case the collection have the property ReadOnly property.

How can I create readonly List instances? What are the main uses?

© Stack Overflow or respective owner

Related posts about c#

Related posts about list