What are Multicast delegate, type and use? The multicast delegate is hold the references of more than one methods within the delegate object using the (+=) operator. 1. Delegate is added using the (+=) operator. 2. Delegate is removed using the (-=) operator. Example for Multicast Delegate as following, using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MulticastDelegateExample { public delegate int MulticastDelegateName ( int num1, int num2); public class MulticastClass { public static int Add( int num1, int num2) { ...
Angular, React, JavaScript, Java, PHP, SQL, C#, Vue, NodeJs, TypeScript and Interview Questions Answers