Anupam Mishra
Total Post:135
Points:949
Hi Everyone
I am using delegates in program. But situation is to more than one method to adding to a delegate. Please anyone can give me a solution with example how to done this?
Thakyou
Post:135
Points:949Re: Use of Multicast Delegate in C#?
Multicast delegate is an extension of normal delegate. It helps you to point more than one method at a single moment of time.
In a windows application, we created a button on a form and on the button click, we want to invoke two methods (AlertMsg(), WarningMsg()). So the code is as follow: