Delegates in C#


  • Define a “signature” (return type and arguments) of acceptable callback methods
    Instantiated by “wrapping” the callback method

    Maintain a list of methods to be called when delegate is invoked
    Just like “function pointers”

    Delegates are type definitions for function pointers. Once defined, they allow for type-safe (static) variables (instances) which point to functions (methods).
    They specify the signature of an individual method.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week