UrbanPro

Learn ASP.NET from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

What are delegates in ASP.NET

Asked by Last Modified  

37 Answers

Learn ASP.NET

Follow 0
Answer

Please enter your answer

IT Professional Trainer with above 15 years of experience into software IT training

Delegates are type safe function pointers or callbacks. Delegate is a class that holds a reference to a method or function. Delegate class has a signature an it can only refer those methods whose signature is compliant with the class. Delegates are of two types 1) Unicast 2)Multicast
Comments

Coaching

A delegate is a class that can hold a reference to a method. Unlike other classes, a delegate class has a signature, and it can hold references only to methods that match its signature. A delegate is thus equivalent to a type-safe function pointer or a callback. For delegation to work, ASP.NET must...
read more
A delegate is a class that can hold a reference to a method. Unlike other classes, a delegate class has a signature, and it can hold references only to methods that match its signature. A delegate is thus equivalent to a type-safe function pointer or a callback. For delegation to work, ASP.NET must be able to authenticate against the remote server using the credentials of the client you wish to delegate. However, there are numerous factors that determine if delegation can occur, such as Internet Information Services (IIS) authentication scheme, ASP.NET process identity, and the operating systems of the machines involved. In asp.net we are using delegates to create custom events for custom controls.For example, custom pager control most likely needs to have Page Changed event. read less
Comments

objects holding reference of one or more methods
Comments

IT Professional Trainer with 9 years of experience in IT Industry

Delegates are abstract Collection of Members with the help of Delegate u can handle events in C# and using delegate u can pass method as parameter with in the delegate.
Comments

7 yrs Experience along with Microsoft Certified Technology Specialist Trainer for .Net with C# as Language

Delegate is a class that can hold a reference to a method or a function. Delegate class has a signature and it can only reference those methods whose signature is compliant with the class. Delegates are type-safe functions pointers or callbacks.
Comments

Training Centre

For the main Usage is how to read the data from the user control; for reading the data a delegate is used
Comments

SharePoint Administration And Development, Office 365,Advanced .Net C#

well assume you are the author of a button control. You need to call user code when the button is clicked. The user could name his method anything and this method could belong to any class. How does Microsoft know what I am going to name my class and method? A delegate encapsulates the things needed...
read more
well assume you are the author of a button control. You need to call user code when the button is clicked. The user could name his method anything and this method could belong to any class. How does Microsoft know what I am going to name my class and method? A delegate encapsulates the things needed for making the call into an object. What are the things needed for making this call? Your type details like class name, this pointer etc (_target variable) Your method details like method signature, address etc (_methodPtr variable) Reference: http://www.arungudelli.com/csharp/delegates-and-events-in-csharp/ read less
Comments

Trainer

A delegate is a class that can hold a reference to a method. Unlike other classes, a delegate class has a signature, and it can hold references only to methods that match its signature. A delegate is thus equivalent to a type-safe function pointer or a callback.
Comments

Thank You for your question Madhuri..... A delegate is a reference type that holds the reference of the class method. Thank You, Team DishaaPro www.dishaapro.com
Comments

Tutor

If you are familiar with c++, its function pointer. It works as its literal meaning, sharing specific work to some method. With hlp of it you can pass function as parameter can achieve multi threading
Comments

View 35 more Answers

Related Questions

how will do custom sorting using div express controls in asp.net MVC
Using webgrid we can do custom sorting in MVC
Mallikarjuna
What is the difference between asp.net and vb.net?
asp.net is web technology that is used in building web applications and websites. Vb.net is language that is used in writing programs that are utilizing the asp.net framework Asp.net contains...
Aadarsh

Hello Sir, I have little bit knowledge of C. Can I continue study Asp.net? Please advice..

for ASP.Net you need the basic programming knoladge in C and C++ OOP Method along with HTML,CSS, and Java Script. Because in ASP.Net Code behind C# is running. C# is based on Object oritented Methodology....
Mitu
0 0
8
How to learn asp.net
asp.net is a web technology, pre requirements for jump start asp.net. you need markup knowledge with styles and dom scripting. then choose your good command on scripting language like c# scripting or vb...
Rahul
i am applying for asp.net but i am not get any response.
You can contact me through WhatsApp:, I am sure that I will take care of you on this subject.
Om

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Export To Excel using StringBuilder in ASP.net MVC C#
public ActionResult Export() { StringBuilder sb = new StringBuilder(); //static file name, can be changes as per requirement string sFileName = "filename.xls"; //Bind...
M

Mohammad Shafi

1 0
1

Format Date to “MM/dd/yyyy” in Webgrid ASP.Net MVC Razor View
Replace above line with below to apply ("DD/mm/yyyy") formatting to date field in WebGrid AllTicket.Column(columnName: "DueDate", header: "Due Date") grid.Column("Date",format:@<text> @item.Date.ToString("MM/dd/yyyy")</text>)
M

Mohammad Shafi

0 0
0

Contents Of ASP.NET
Getting Started with ASP.NET This module explains how to build and configure a simple ASP.NET application. Lessons: Introduction to ASP.NET Web Applications Features of ASP.NET Configuring ASP.NET...

Why Need for Delegates in C#
.1. TYPE SAFETY FEATURES. 2. OBJECT ORIENRED FEATURES. 3. Lamda Function 4. BRING GENERICS. 1. Type safety means an object when defined has its ability to understand of its own type and maintain...

Software Development Training In Jaipur
Satyam Web Solution provides website designing &development and software designing &development training in Jaipur for various stream’s students. MCA 6 month Industrial Training/Internship B....

Looking for ASP.NET ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for ASP.NET Classes?

The best tutors for ASP.NET Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn ASP.NET with the Best Tutors

The best Tutors for ASP.NET Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more