R

Ram Sharma • 193.86K Points
Coach

Q. Which of the following statements are correct about the delegate declaration given below? delegate void del(int i); 
1. On declaring the delegate a class called del will get created. 
2. The signature of del need not be same as the signature of the method that we intend to call using it. 
3.The del class will be derived from the Multicast Delegate class. 
4. The method that can be called using del should not be a static method. 
5. The del class will contain a one-argument constructor and an lnvoke() method.

  • (A) 1, 2 and 3 only
  • (B) 1, 3 and 5 only
  • (C) 2 and 4 only
  • (D) 4 only
  • Correct Answer - Option(B)
  • Views: 145
  • Filed under category C#

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics