πŸ“Š C#
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 MulticastDelegate 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
πŸ’¬ Discuss
βœ… Correct Answer: (B) 1, 3 and 5 only

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
190
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
85%
Success Rate