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

James Chenphol

James Chenphol

View Profile

ETHAN POVEY

Ethan Povey

View Profile

Syncplify

Syncplify

View Profile

KUBET

Kubet

View Profile

Chuck Knueve

Chuck Knueve

View Profile

Westlake Car Service

Westlake Car Service

View Profile

QA Home Inspector

Qa Home Inspector

View Profile

哔咔漫画

哔咔漫画

View Profile

Big Ds Concrete LLC

Big Ds Concrete Llc

View Profile