Delegates (Continued)
Learn about additional applications of delegates.
We'll cover the following...
Introduction
Throughout this section, we’ve seen various ways to create and instantiate delegates. We primarily focused on syntax while overlooking the practical uses of delegates. Why do we need them? After all, we can simply create methods and call them directly instead of declaring a delegate type and creating regular and anonymous methods that suit it.
Suppose we have a class that represents a football game. It tracks the events of ...
Access this course and 1400+ top-rated courses and projects.