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

Explain me what is .net web service?

1050


What is manifest in .net?

1115


Does .net supports destructors concept?

2072


What is Finalizer in .NET define Dispose and Finalize ?

1075


what is the default security setting in .net?

998


What is jit compilers?

1133


How we can achieve Connection pooling in .Net?

1097


Is there any inbuilt tool or command provided by .NET to view the code inside the assembly?

1000


Explain the difference between garbage collections in .net 4.0 and earlier versions?

1093


Explain boxing and unboxing in .net.

1010


Tell us what is heap and what is stack?

1165


What is machine.config in .net?

1039


Explain why do we use the “using” statement?

1048


What is "common language specification" (cls) in .net?

1002


What tools can I use to develop .net applications?

1007