Devscovery 2009 Redmond follow-up

During my CLR/BCL/C# 4.0 talk, a few people asked me questions for which I didn't have the answer. I have now researched these questions and have the answers.

 

Question #1: Are the new concurrent collection classes in .NET 4.0 serializable?

Answer: Yes, ConcurrentStack, ConcurrentQueue, ConcurrentBag, and ConcurrentDictionary are all serializable. However, the BlockingCollection class (which can wrap any of these except for ConcurrentDictionary) is not serializable.

 

Question #2: How d...

 •  0 comments  •  flag
Share on Twitter
Published on August 21, 2009 15:30
No comments have been added yet.


Jeffrey Richter's Blog

Jeffrey Richter
Jeffrey Richter isn't a Goodreads Author (yet), but they do have a blog, so here are some recent posts imported from their feed.
Follow Jeffrey Richter's blog with rss.