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

How will you load an assembly which is not referenced by current assembly?

1067


What is delegation in .net?

1153


When should I use .net core?

1152


What are the important components of .net?

1066


What are the purposes of using .net?

1140


The project which you have made, which methodology did you use?

1104


What is heap and what is stack?

1171


Explain what is reflection in microsoft .net context?

1188


Please explain what is a delegate?

1272


Different levels of priority provided by .net.

1214


What's wrong with a line like this? Datetime.parse(mystring);

1068


How can I get at the win32 api from a .net program?

1069


Explain how to redirect tracing to a file?

1055


What is assemblies in .net?

1170


what is the keyword used for self reference?

2457