How Events And Delegates Are Related

Stoodq19 Sep, 2019Education

In general, we call delegates function pointers, meaning delegate object stores a reference of a method. The delegate is a type that defines a signature, that is, the return value type and parameter list types for a method. Delegate type can be used to declare a variable and associate its instance with any method with the same signature as the delegate then finally invoke (or call) the method through the delegate instance. Delegate allows us to implement different implementation in different methods (a kind of polymorphism - many forms)

Recent Profiles

Chris Coveny

Chris Coveny

View Profile

midiamaxbcarrak15

Midiamaxbcarrak15

View Profile

midiamaxsprtsk15

Midiamaxsprtsk15

View Profile

midiamaxcsinok15

Midiamaxcsinok15

View Profile

Chris Coveny

Chris Coveny

View Profile

Hoàng Nam

Hoàng Nam

View Profile

NOHU EUCOMM

Nohu Eucomm

View Profile

88VBET

88vbet

View Profile

JOEL MARTIN

Joel Martin

View Profile

Trang Chủ Xoso66

Trang Chủ Xoso66

View Profile