Exercise 1: Call Functions Using Multicast Delegates
In this exercise, you have to call multiple functions using a single delegate!
We'll cover the following
Problem Statement
In this exercise, you have to call the functions Add()
, Subtract()
, Multiply()
and Divide()
by using delegates.
💡 Hint: You have to use multicast delegates!
You now know that:
Multicast delegate is a delegate that holds a reference to more than one method.
Get hands-on with 1400+ tech skills courses.