Chapter 9. Working with Collections

In the previous chapter, you looked at how objects collaborate and communicate in object-oriented programs. That chapter introduced the concepts of messaging, events, delegation, exception handling, and asynchronous programming. In this chapter, you will look at how collections of objects are organized and processed. The .NET Framework contains an extensive set of classes and interfaces for creating and managing collections of objects. You will look at the various types of collection structures .NET provides and learn what they are designed for and when to use each. You will also look at how to use generics to create highly reusable, efficient collections.

In this chapter, you will learn the following:

  • The various ...

Get Beginning C# Object-Oriented Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.