Answer Posted / navin c. pandit
Here is the code how to add a delegate:-
Button_Id.OnClick += new EventHandler(function_name());
where function_name() is the name of the method that you
want to call.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain About remoting and web services. Difference between them
Define Abstract Class in C#
How does return work in c#?
List down the different ide’s provided by microsoft for c# development.
What is the implicit name and type of the parameter that gets passed into the class set method?
Is c# an open source?
Can hashtable have duplicate keys?
Can arraylist store different data types in c#?
What is difference between const and static in c#?
Why delegates are type safe?
Difference between directcast and ctype.
How many types of constructors are there?
How to implement singleton design pattern in c#?
Can a method be sealed in c#?
What does console readline do?