Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are delegates?where are they used



What are delegates?where are they used..

Answer / kirti

A delegate defines a reference type that can be used to encapsulate a method with a specific signature. A delegate instance encapsulates a static or an instance method. Delegates are roughly similar to function pointers in C++; however, delegates are type-safe and secure.

When do you use virtual keyword ?.

When we need to override a method of the base class in the sub class, then we give the virtual keyword in the base class method. This makes the method in the base class to be overridable. Methods, properties, and indexers can be virtual, which means that their implementation can be overridden in derived classes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

what are partial classes?

12 Answers   Digimaker, HP, N Tech, TCS,


What is the importance of NonActionAttribute?

0 Answers  


Will the name change be reflected in any of the existing .net framework 2.0 apis, assemblies, or namespaces?

0 Answers  


What is viewbag?

0 Answers  


What was the problem in traditional component why side by side execution is supported in .net ?

1 Answers   MMTS,


Can I add mvc testcases in visual studio express?

0 Answers  


Explain the use of Inversion of control (IOC)?

0 Answers  


How is method overriding different from method overloading

1 Answers   Siebel Systems,


Briefly describe the roles of clr in .net framework?

0 Answers  


What is work of clr?

0 Answers  


what is the use of final method

3 Answers   TCS,


What is gacutil.exe. Where do we store assemblies ?

5 Answers   Accenture, BirlaSoft,


Categories