Why do we need delegates in c#?
Answer / Dushyant Singh Arya
"Delegates in C# are a type-safe way to define and invoke function pointers. They allow one method to call another method or pass control to a subroutine dynamically. Delegates can be used for event handling, callbacks, asynchronous programming, and more."
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the C# syntax to catch any possible exception?
How can we sort an array in c#?
Difference between value and reference type.
Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?
What is the use of functional interface?
What is namespace explain with example?
write a c# program add two matrix with input number ?
Difference between type constructor and instance constructor? What is static constructor, when it will be fired? And what is its use?
How does bubble sort work?
What is boxing in c#?
What is enumerable in c#?
Why to use lock statement in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)