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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.