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 Generics? Where do we use them.

Answer Posted / ritz

Generics was introduced in Framework 2.0
With generics we can have typed classes. While defining
class we simply give placeholders and when we create
objects of that class we declare the placeholder to be of
some type(like int, double, string, etc.) and from that
point on our object gets bind to that type only.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the procedure to add assemly to gac to make it shared one?

993


Different between .net & j2ee ?

1100


What exactly is being serialized when you perform serialization in .net?

1039


Difference abstract class and interface in .net?

1089


What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?

1000


Explain how viewstate is being formed and how it's stored on client in .net?

984


Explain what are an object and a class?

1077


How to produce an assembly?

1109


Explain what is a manifest in .net?

1051


What are an object and a class?

1112


What are the deferred execution and the immediate execution in linq?

1018


What is new in .net core?

932


Tell us the difference between managed and unmanaged code?

1027


What is the advantage of packaging over xcopy in .net?

1070


Difference between abstract class and interface in .net?

1095