Summary
In this chapter, we looked at the various collection types available in the BCL. A solid knowledge of how any of those collection types work and when to use them is essential to become a successful .NET and C# developer.
After starting our exploration in the nongeneric world of collections, we applied our knowledge of generics from Chapter 15 to generic collections, including stacks, queues, lists, dictionaries, and more.
Next, we discussed thread-safety aspects of working with collections, making the case for the new .NET 4.0 concurrent collections that should be the preferred collection types when multiple threads are involved.
The next chapter covers delegates as a way to delegate responsibilities by passing around references to methods. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access