Crystal Reports  

Simple Program of Delegates

Delegates

C# Contains two kinds of objects, those that create changes and those that respond to that changes. A Delegates acts as a tunnel between these two kinds of objects that move information from one side to another.

A C# delegates are class methods and can be either static or instance class methods. A delegate can keep track of its own state by maintain information in the object to which it belongs.

We can create delegates by using “Delegate” Keyword as shown below: