Basu Biswas

Basu Biswas

  • NA
  • 55
  • 0

What is EVENTS.....in C#

Mar 16 2007 1:45 AM

Hi,

Actually I m little new to programming...i m learning c# and can'nt figure out wat is EVENT...

I saw calling events in the middle of code like....

   ws.ProgressChanged += new ProgressChangedEventHandler(Upload_ProgressChanged);

I think this statement invokes function "Upload_ProgressChanged"....

but can't we write it simply like

    Upload_ProgressChanged(); ...I mean like calling a function...

plz explaing me sumthing regarding events and delegates.....

tnx...


Answers (3)