Delegates in C# | C# Tutorial Part 08

Publicado em: 08 Março 2024
no canal de: Anoja Kumudunee
21
2

accessmodifier returntype methodName(arguments)
{
//rest of the code
}
//declare delegate as a data member
delegate returntype delegateName(arguments)

//instance of the delegate
delegatename delegateinstancename = new delegatename(methodname);

//access the properties of the delegate
delegateinstancename.Target

delegateinstancename.Method

//invoke/call target method
delegateinstancename.Invoke();

or

delegateinstancename.Invoke(arguments);


Nesta página do site você pode assistir ao vídeo on-line Delegates in C# | C# Tutorial Part 08 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Anoja Kumudunee 08 Março 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 21 vezes e gostou 2 espectadores. Boa visualização!