UrbanPro
true

Learn ASP.NET from the Best Tutors

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

Search in

Why Need for Delegates in C#

Suprio Dutta
28/06/2018 0 0

.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 it in future operations.object can be a string, integer, boolean, float, double etc.

2. Objected oriented means delegates can support the object-oriented features like inheritance polymorphism virtual functions. etc

3. Lamba function means delegate can create its own anonymously function types. that can handle its own kind of operations there is no need to specify a name in particular for that function.

4. Generics means giving higher valued definition to the delegate classes in terms of object creation.

 

 

0 Dislike
Follow 2

Please Enter a comment

Submit

Other Lessons for You


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

What are Various Types of Exception in C#
ArgumentException, ArgumentNullException, and ArgumentOutOfRangeException. NullReferenceException, IndexOutOfRangeException, SQL exceptions Stack Overflow Exception, Invalid Castexception ArgumentException...

Compare ASP.NET WEB API and WCF.
What to choose between WCF or WEB API..? Choose WCF when you want to create a service that should support special scenarios such as one way messaging, message queues, duplex communication etc. while...

Differences Between Execution Query, Execute Scalar and Execute Reader.
ExecuteNonQuery ExecuteNonQuery method will return number of rows effected with INSERT, DELETE or UPDATE operations. This ExecuteNonQuery method will be used only for insert, update and delete, Create,...
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