What is the main purpose of delegates in c#?
Answer / Shailesh Krishna Verma
"Delegates in C# serve multiple purposes: they allow for encapsulation, method pointers, event handling, and callbacks. Delegates also enable decoupling of classes by allowing one class to define a method signature, and another to provide the implementation at runtime. Delegates can be used for asynchronous programming to manage multiple tasks concurrently."n
| Is This Answer Correct ? | 0 Yes | 0 No |
How does the lifecycle of Windows services differ from Standard EXE?
is it possible to inherit a class but methods declared in the class should not be inheritable i possible how?
Why do I get a syntax error when trying to declare a variable called checked?
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
What is void method?
How does dll hell solve in .net?
What is the difference between “finalize” and “finally” methods in c#?
How do you encapsulate in c#?
Explain metadata in c#.
hi i m bhawna ,a student of mca want to know about what type of technical question has been asked in an interview of mnc's like HCL,TCS,WIPRO
What are the 3 different types of arrays?
What are c# types?
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)