What are events in Programming


  • Events let one object tell another that something has happened

    An event is an action, such as the user clicking on a button
    Usually, nothing happens until the user does something and generates an event

    An event is a way for one class to notify other classes when something of interest happens

    The .NET Framework provides the Event statement (Event keyword in C#) to use in situations when you need to create a custom event
    The EventHandler delegate helps one or more methods to subscribe to an event and handle the event when it occurs

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week