what are Events in Dotnet Framework
Loading
what are Events in Dotnet Framework
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sandhiya PriyaPosted Oct 27, 2025, 5:26 AM
What are Events in .NET Framework?
In the .NET Framework, an Event is a way for one object (publisher) to notify other objects (subscribers) that something has happened.
It’s built on delegates, which define the method signature for event handlers.
In simple terms:An event is a notification triggered by an action (like a button click), and handled by methods (event handlers) that respond to it.
Example:
Key Points:
Events use delegates internally.
Publisher raises the event, subscribers handle it.
You can attach (
+=) or detach (-=) event handlers.Used widely in UI apps, services, and real-time notifications.
In short:
Events = Communication mechanism between objects ? when something happens, others get notified automatically.
RinkiPosted Jun 2, 2025, 6:29 AM
In the .NET Framework, events are a key part of the language's support for the observer design pattern, which allows objects to communicate in a publisher-subscriber model.
You can read more here - https://www.c-sharpcorner.com/UploadFile/vemuhemanth/events-in-net/