what is a delegate? what it is used for?
Answers were Sorted based on User's Feedback
Answer / ganesh
Delegates are a type that references method. Normally when
we calling a method we will pass some data to that method
as input parameter. But in some scenario we might need to
pass method as input parameter to other method in such case
we can use delegate.
Delegate wraps any method which matches its signature,
calling a delegate result in calling a method so this gives
the ability to call the method programmatically based on
our business needs.
hgfhfghbgf
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / s.jayaprathap.
Delegate is a class that can hold the reference to a method
of a function.Pointers are call back......
Is This Answer Correct ? | 0 Yes | 0 No |
What is the predicate of a sentence?
What are the access-specifiers available in c#?
What is the difference between ienumerable and iqueryable?
List the two important objects of ado.net and also list the namespaces that are commonly used in ado.net to aid in connection to a database.
This is Kishore i am MCA graduate i have percentage less(52%) in my 10th still i completed .NET course any body tell me how to put fake experience with my BSC degree if you do not mind tell me some fake certificates giving consultencies names in Chennai,Bangalore
Is array passed by reference in c#?
How can you sort the elements of the array in descending order?
Why var is used in c#?
What do you know about Translate Accelerator?
Distinguish between a class and struct?
Integer at long type variable are not object.Support your answer with example.And explain the technique to convert from value type to reference type and vice-versa.
What do u mean by delegation?