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

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

IT Professional Trainer with above 10 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

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

Software Trainer

Delegate is same as function pointer of C/C++ that is used to refer any method. it can be single cast(refer a single method) and multicast cast(if refer more than one function but return type must be void).
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

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

View 35 more Answers

Related Questions

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
What is the difference between asp.net and vb.net?
ASP.Net is known as a development platform for the web, which in turn is known to help create robust web applications. It is known to contain innumerous libraries which have a wide range of functionality....
Manshi
how will do custom sorting using div express controls in asp.net MVC
Using webgrid we can do custom sorting in MVC
Mallikarjuna
i am applying for asp.net but i am not get any response.
If you are applying only with asp.net as skills set then you won't get much output. You required to update your skills based on market demand. You have to be fit in demands by brushing up your skills and...
Om
What Is Asp ?
ASP.Net is a platform that is used to develope, Web, Desktop, Mobile and other kinds of applications. It supports many languages like C, C++, C#, F#, VB.Net etc. It all runs on a Integrated Development...
Sunita

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

Ask a Question

Related Lessons

ASP.NET - Introduction
ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required to build up robust web applications for PC, as well as mobile...

Difference Between View Bag And View Data In Mvc
ViewData belongs to dictionary class whereas view bag is the dynamic object. i.e., dictionary class create objects that validate data for viewdata whereas dynamic object validates data for ViewBag.Also,The...

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...

Trends in .Net Platform
.NET Framework is a software framework developed by Microsoft. It includes a large class library named Framework Class Library (FCL) and provides language interoperability (each language can use code written...

ASP.net MVC 5
ASP.NET MVC It’s a part of ASP.NET and provides an alternative to ASP.NET webforms. You can even mix webforms and MVC. Basic concepts like state management are still the same. Thus, if you have...

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