QuesHub > > delegate > delegate > ASK DETAIL

What are the delegates in C# 2024?

Oliver Parker | 2023-05-05 06:12:49 | page views:1143
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Oliver Brown

Works at the International Finance Corporation, Lives in Washington, D.C., USA.
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.
2023-05-10 06:12:49

Gabriel Martin

QuesHub.com delivers expert answers and knowledge to you.
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.
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4