if you want to use delegates without parameter or with parameter. but if you follow same syntax like to used in method
First of all how to create delegates see in below image

Here I have used a small program which demonstrates the use of delegate.
The delegate "Sum_Delegate" is declared with int return type and accepts only two integer parameters.
and how to call this delegates into page_load see this below image

This is Simple Delegates use in call same parameter method and output of this delegates is


Ilkin TuranPosted Nov 3, 2011, 2:48 AM
Helpful for C sharp learners