Delegates in C# | C# Tutorial Part 08

Publicado el: 08 marzo 2024
en el 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);


En esta página del sitio puede ver el video en línea Delegates in C# | C# Tutorial Part 08 de Duración hora minuto segunda en buena calidad , que subió el usuario Anoja Kumudunee 08 marzo 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 21 veces y le gustó 2 a los espectadores. Disfruta viendo!