Find jobs | Company-wise jobs
Jobseekers | Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Interview Q&A Tutorials .NET Java Soft skills CV GD Work from home IT practice test MBA practice test FAQs in PDF Books Jobs FAQs
Interview questions                                 
.NET FAQs
C#.NET FAQs
VB.NET FAQs
Check your Framework skills!
Check your ASP.NET skills!
Test your ADO.NET skills!
DOT.NET FAQs
 
NET framework
NET assembly
NET code security
NET access modifiers
NET architecture
NET base class library
NET CLR
NET constants,enum,arrays
NET data types
NET menu
NET garbage collection
NET debug and trace
NET properties
NET form
NET assemblies & resources
NET class & structures
NET binding,viewing,filtering
NET configuring & optimizing
NET configuring setup project
NET constructors & destructors
NET control
NET dataset objects
NET debugging tools
NET debug & trace classes
NET delegates & events
NET exception handling
NET globalization-localization
NET interoperability
NET project deployment
NET securing application
NET using XML
NET validating user input
NET windows communication
NET windows presentation
NET windows workflow
NET Crystal Reports
.NET Framework
 
ADO.NET
OOPS in .NET
Net mobile
LINQ
.NET compact framework
Silverlight
 
 

.Net - What is a delegate?

Next question>>           Learn .NET
.Net - What is a delegate? Explain how to create it. - June 03, 2009 at 11:00 AM by Shuchi Gauri

What is a delegate? Explain how to create it.

A delegate declares a ref type that references a named of anonymous method. Delegates are secure and type-safe. Consider them as type safe function pointers.

public delegate void Del<T>(T item);

Del<int> d1 = new Del<int>(Notify);

Next question>>

Also read

Explain how to implement Delegates in C#.NET

Here is an implementation of a very simple delegate that accepts no parameters.................

What are delegates and why are they required?

The delegates in .NET are like the pointers to the functions in C/C++. The difference is that these are type safe unlike the once in C/C++.................

What is the difference between Factory and Abstract Factory Patterns?

The difference between Factory and Abstract Factory Patterns lies in object instantiation. In Abstract factory pattern Composition is used to delegate object instantiation by a class to some object................

.NET delegates and events

What is an Event?
Define Delegate.
What is the purpose of AddHandler keyword?...............

Difference between abstract classes and interfaces.

When a derived class is inherited from an Abstract class, no other class can be extended then. Interface can be used in any scenario................. 

 

 
Want to be hunted by potential employers? Just submit your key skills!

Popular FAQs

.NET .Net Architecture ADO.NET Java Oracle C#.NET
VB.NET DOT.NET AJAX ASP.NET NET Framework OOPS in .NET
C++ Sql Server Data warehousing EJB MySQL Linux
PHP UML Networking Testing XML  
 
Copyright © 2008 - 2010 CareerRide.com. All rights reserved.