what is a delegate? what it is used for?

Answer Posted / anu1983_mca@yahoo.co.in

Delegate defines a reference type that can be used to
encapsulate a method.Delegate is a function pointer in c++.

I. Delegate is a Type-Safe and secure

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a console in c#?

487


Why generics are used in c#?

491


In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList(); } } }

1812


What is windows forms in c#?

472


What is xaml file in c#?

533






Explain how is the dll hell problem solved in .net?

465


What is iqueryable and ienumerable in c#?

513


What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?

552


How do you access a constant field declared in a class?

498


What is an array? Give the syntax for a single and multi-dimensional array?

491


How is a string immutable?

493


What is the benefit of using interface in c#?

501


What does mean before a string in c#?

518


What is gui in c#?

544


What is session management in c#?

529