-
What are the delegates in C# 2024?
delegate delegate
Questioner:Harper Patel 2023-05-05 06:12:49
The most authoritative answer in 2024
-

-
Ethan Wilson——Works at the International Organization for Migration, Lives in Geneva, Switzerland.
A
delegate in C# is similar to a function pointer in C or C++. Using a
delegate allows the programmer to encapsulate a reference to a method inside a
delegate object. The
delegate object can then be passed to code which can call the referenced method, without having to know at compile time which method will be invoked.
read more >>
About “、delegate、delegate”,people ask:
QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.