C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Use Delegates in Csharp
WhatsApp
Dhaval Patel
13y
5
k
0
0
25
Blog
Delegates
:
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
Use Delegates in Csharp
Recommended related topics
Membership not found