Chapter 8. Implementing Object Collaboration

In the previous chapter, you learned how to create and use class hierarchies in C#. That chapter also introduced the concepts of inheritance, polymorphism, and interfaces. In this chapter, you'll learn how to get the objects of an application to work together to perform tasks. You will see how objects communicate through messaging and how events initiate application processing. You'll also learn how the objects respond and communicate exceptions that may occur as they carry out their assigned tasks.

After reading this chapter, you should be familiar with the following:

  • The process of object communication through messaging.

  • The different types of messaging that can occur.

  • How to use delegation in C# applications. ...

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.