O'Reilly logo

C# 5.0 Unleashed by Bart De Smet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required