hi
can anybody give some example of Delegates and events?
hi
can anybody give some example of Delegates and events?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Jan MontanoRank #1,295 · 1.3K reputationPosted Aug 23, 2007, 4:40 AM EDT
surendra kumar9 reputationPosted Sep 19, 2007, 8:08 PM EDT
{
return a + b;}
private void calldel(){
//here we point add mathed like an event
sur s = new sur(add);
MessageBox.Show(s.Invoke(5, 6).ToString());
}