what is an event? Define delegate?



what is an event? Define delegate?..

Answer / Umesh Chandra Verma

An event in C# represents something that happens. It provides a way to execute code when something occurs, like a button click or a timer tick. A delegate is a type that references a method with a specified return type and parameters. It acts as a callback mechanism, allowing methods to be passed around and invoked indirectly.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is collection class c#?

1 Answers  


What is a delegate in c#?

1 Answers  


What is the use of New Keyword

15 Answers  


Can we inherit class that contains only one private constructor?

1 Answers  


What is the diff between the System.Array.CopyTo() and System.Array.Clone()?

1 Answers   Siebel,


how to add datarow to datatable

1 Answers  


What are the three types of operators?

1 Answers  


Is php better than c#?

1 Answers  


What is the use of table aliases?

1 Answers  


Why is it not a good idea to insert code into InitializeComponent method when working with Visual Studio ?

1 Answers  


C Sharp

1 Answers   Wipro,


What is a method c#?

1 Answers  


Categories