Using C# Delegates with Events

.NET Delegates are objects which can refer to static and instance methods in memory at runtime and can call those methods in your program. In this tutorial I will show you how you can create and use delegates in C#.

Using C# Delegates with Events

Read Full Tutorial

Delegates in Visual Basic .NET

A delegate in Visual Basic.NET is defined as a type safe function pointer. It holds the memory address of a function or procedure in the code and can be used to invoke the function. As a Visual Basic developer, we used delegates on daily basis without even knowing that we are using them. Event handling in .NET is also based on the concept of delegates and .NET Framework automatically handles delegates behind the scenes when we handle events in the program.

Read Full Tutorial