What is an Event? Define Delegate - C#.NET

What is an Event?

When an action is performed, this action is noticed by the computer application based on which the output is displayed. These actions are called events. Examples of events are pressing of the keys on the keyboard, clicking of the mouse. Likewise, there are a number of events which capture your actions.

Define Delegate.

Delegates are kind of similar to the function pointers. But they are secure and type-safe.
A delegate instance encapsulates a static or an instance method.
Declaring a delegate defines a reference type which can be used to encapsulate a method having a specific signature.
C#.NET Assembly manifest
C#.NET - What is Assembly manifest? - The manifest of an assembly contains assembly's data like version...
What is GAC (global assembly cache)? - C#.NET
C#.NET - What is GAC (global assembly cache)? - GAC, global assembly cache is an area of memory reserved to store the assemblies...
Private class-level variables - C#.NET
C#.NET - Can you inherit private class-level variables? - they can be inherited but they are not accessible in the derived class...
Post your comment