Delegates And Events In C Sharp - Study Mode

[#46] In C#, which keyword is used to raise an event?
Correct Answer

(C) event

[#47] What is the purpose of the Func delegate in C#?
Correct Answer

(B) Represents a delegate that can encapsulate a method with one parameter and returns a value

[#48] In C#, which keyword is used to declare an event that can be raised by any class within the same assembly, but not outside it?
Correct Answer

(B) protected internal

[#49] What is the primary purpose of using delegates in C#?
Correct Answer

(C) To provide a way to reference and invoke methods

[#50] In C#, which keyword is used to declare an event in an interface?
Correct Answer

(D) event