What is delegates and lambdas? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is delegates and lambdas?

What is delegates and lambdas and when is it good to use them?

13th Nov 2016, 7:55 PM
Ousmane Diaw
2 Answers
a delegate is just like a function pointer it's a reference to a function
13th Nov 2016, 10:56 PM
Edwin Martens
Edwin Martens - avatar
yes delegate also use in lambda expression but it is generic delegate like func,action,predicate
15th Nov 2016, 5:03 PM
Shauib Hasan
Shauib Hasan - avatar