Loading, please wait...

Showing articles with Delgates. Show all articles
A delegate in C# is similar to a function pointer in C/C++. By using delegate, programmer can encapsulate a reference to a method inside a delegate object. The delegate object can then be passed to code which can tell reference method, without having to know at compile time which method will be invoked.