Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions


Here I will explain what is delegates in c#.net with example. Basically delegates in c# are type safe objects which are used to hold reference of one or more methods in c#.net. Delegates concept will match with pointer concept of c language.  

In previous posts I explained OOPS examples in c#polymorphism in c#Difference b/w datareader, dataset and dataadapter in c#Difference b/w appsettings and connection strings in asp.netDifference b/w executereader, executenonquery and executescalar in c# and many articles relating to interview questions in c#, asp.net, sql server, javascript, jquery. Now I will explain delegates in c#.net with example.
Whenever we want to create delegate methods we need to declare with delegate keyword and delegate methods signature should match exactly with the methods which we are going to hold like same return types and same parameters otherwise delegate functionality won’t work if signature not match with methods.
0 0 0
if you dont mind could you please post the previous articles in oops which you were talking about and differences also..Thanks buddy.
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts