C# Delegates and Events Interview Questions and Answers - 1
Delegate is an object that can refer to a method.
Delegate contains details about method rather than data.
It is used for two purposes; they are call back and event handling.
It can be used to hold reference to a method of any class.
What are event handlers?
A method that handles an event is called an event handler. The event handlers return void and take two objects.
The first parameter is the object raised the event.
The second parameter is an object derived from Event Args class.
What are called combinable delegates?
It is possible for certain delegates to hold and invoke multiple methods.
It is called as multicast delegates, also known as combinable delegates.
What is a delegate method?
The methods whose references are encapsulated in to a delegate instance are known as delegate methods or callable entities.
What is an event?
An Event is essentially an automatic notification that some action has occurred.
Events are members of a class and declared using the event keyword.
1000+ Multiple Choice Questions on Electric Traction Pdf More
1000+ Electric Traction MCQ Questions and Answers Pdf More
Power Plant Engineering Multiple Choice Questions and Answers Pdf More
1000+ Sequence Puzzles for Kids with Answers More
Electrical Engineering Power Plant Engineering MCQ Questions Pdf More
1000+ General English Sentence Completion Quiz Questions More
1000+ Easy Computer Quiz Questions with Answers More
1000+ Process Equipment and Plant Design Quiz Questions and Answers More
1000+ Mechanical Operations Interview Questions and Answers More
Solar System Multiple Choice Questions and Answers More