Back to Browse

Using Delegate for Callback function | C# Events & Delegates | Advance Concepts of C#

12.4K views
Nov 23, 2022
14:25

In this lecture you will learn what is the use of a delegate in C#. In the last lecture we learned that a delegate is a type safe function pointer. So since a delegate stores a pointer to a function, we can pass methods as an argument to another method with the help of a delegate. In the same way, we can also return a method from another method with the help of a delegate. Let's understand this practically in this lecture.

Download

0 formats

No download links available.

Using Delegate for Callback function | C# Events & Delegates | Advance Concepts of C# | NatokHD