Delegates And Events In C Sharp - Study Mode

[#21] What is a multicast delegate in C#?
Correct Answer

(C) A delegate that can hold references to multiple methods

[#22] What is the purpose of the Remove method associated with events in C#?
Correct Answer

(D) Removes an event handler from the event

[#23] In C#, which access modifier is commonly used for events that allow only the defining class to raise them?
Correct Answer

(A) private

[#24] What is the purpose of the Delegate.Combine method in C#?
Correct Answer

(D) Combines two delegates into a multicast delegate

[#25] What is the purpose of the EventHandler delegate in C#?
Correct Answer

(C) It serves as a template for creating event handler delegates