Please what are delegates in C# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

Please what are delegates in C#

9th Oct 2022, 12:44 PM
Mr Ajiero
Mr Ajiero - avatar
1 Answer
A delegate is a type that represents references to methods with a particular parameter list and return type. When you instantiate a delegate, you can associate its instance with any method with a compatible signature and return type. You can invoke (or call) the method through the delegate instance
9th Oct 2022, 6:35 PM
sree harsha
sree harsha - avatar