What is assembly and delegates in C#? Explain with example.
Answers
Answered by
0
Represents a delegate, which is a data structure that refers to a static method or to a class ... Assemblies: System. ...... The following example shows how to define a delegate named myMethodDelegate .
Answered by
0
Simple Delegates With Examples in C# ... Delegates are similar to C++ function pointers, but are type safe. Delegates allow methods to be passed as parameters. Delegates can be used to define callback methods
Similar questions