Immutable Collections

Sunday, February 17, 2013

Immutable Collections Immutability is a pattern which is suit well parallel programming, but you have to be aware of a potential memory pressure risk when it's not implemented right or used wisely. this post will cover a new BCL library (still in its preview stage) which is targeting immutable collections. .NET is already having Concurrent implementation for Queue, Stack, Bug and Dictionary, which is thread-safe, but other type of collection like List is missing. another type of collection are read only collection, but those type...