Delegates And Events In C Sharp - Study Mode
[#41] Incorrect statements about delegates are?
Correct Answer
(D) Only one method can be called using a delegate
[#42] Are generics in C# are same as the generics in java and templates in C++?
Correct Answer
(B) No
[#43] Which of the given statements are valid about generics in .NET Framework?
Correct Answer
(A) generics are useful in collection classes in .NET framework
[#44] In C#, what is the purpose of the Action delegate?
Correct Answer
(D) Represents a delegate that can encapsulate a method with a single parameter and does not return a value
[#45] What is the benefit of using events and delegates in C#?
Correct Answer
(C) Decouples the publisher from the subscriber, allowing for loosely coupled applications