Events and Delegates

  • Thread starter Thread starter Guest
  • Start date Start date
Hi, dotnet

You might want to check
http://msdn.microsoft.com/library/d...bcn7/html/vaconeventsdelegatesinheritance.asp,
which is for VB.Net but nevertheless gives general description.

Delegate is like function pointer in Win32 and event is related declaration
of the field in the class, which can keep function pointer and allows to
invoke it when required. Basically this pair is required to strong-type
pointer fields and related calls.

HTH
Alex

dotnet said:
Can someone explain the differences between events and delegates. Thank
you
 
Back
Top