What you mean by delegate in c#?



What you mean by delegate in c#?..

Answer / Pritibhi Kumar

A delegate in C# is a type that represents methods with a specific signature, acting as function pointers or interfaces. Delegates allow you to pass methods as arguments to other methods and enable event-driven programming in .NET. You can declare a delegate by defining a delegate type and assigning a method instance to it.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How do you clear a list in c#?

1 Answers  


Is c# code is managed or unmanaged code?

1 Answers  


what is dynamic sql

2 Answers   TCS, Wipro,


Is c sharp free?

1 Answers  


What is dapper in c#?

1 Answers  


Can the accessibility of a type member be greater than the accessibility of its containing type?

1 Answers  


Can a string be null c#?

1 Answers  


What is cshtml extension?

1 Answers  


Is comparator a functional interface?

1 Answers  


How many types of methods are there in c#?

1 Answers  


Is multiple inheritance possible in c#?

1 Answers  


Which language is used for desktop application?

1 Answers  


Categories