Delegates and Events In C#
div >
September, 2018 / by Krishan Dutt Sharma Delegates and events are a fundamental concept yet complex in .NET and C# language. This article explains basic concepts of delegates and events and how they are used in a .NET and C# application.
Delegates
Delegate is one of the base types in .NET. Delegate is a class, which is used to create delegate at runtime.
Delegate in C# is similar to a function pointer in C or C++. It's a new type of object in C#. Delegate is very special type of object as earlier the entire the object we used to defined contained data but delegate just contains the details of a method.
Read More