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 / rakesh kumar kunchala

Generics are used to have Typed Arrays.

Ex: if we have define that an array is confined to products.
if we push objects of product into array it accepts.
if we push employee objects into this array it will show
error . since the type of the array is product.

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I'm having some trouble with cas. How can I troubleshoot the problem?

995


What is a serviced component?

991


What are the purposes of using .net?

1083


Tell me what is a “jagged array”?

1029


Explain the difference between task and thread in .net?

936


State the differences between the dispose() and finalize().

1018


What do the terms “boxing” and “unboxing” mean?

950


What are the advantages of .net core?

968


Explain the difference between public and static modifiers?

1127


Why inheritance is important?

1143


Explain about .Net products?

1114


What does cil do?

993


Define code access security (cas)?

995


Explain the use of activex control in .net?

1043


Explain difference between panel and groupbox classes using .net?

1021