Immutable Collections

Immutable collections were introduced with .NET Framework 4.5. They do the following purposes:

Image Making it easier to share a collection that will never change so that the collection consumers know about its immutable state

Image Providing implicit thread safety because no locks are required to access an immutable collection

Image Allowing you to modify a collection during enumeration while ensuring that the original collection does not ...

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.