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.

Answers were Sorted based on User's Feedback



What are Generics? Where do we use them...

Answer / 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

What are Generics? Where do we use them...

Answer / 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

More Dot Net General Interview Questions

What are the different types of remote object creation mode in .net?

0 Answers  


Tell us what is the native image generator?

0 Answers  


Explain what is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?

0 Answers  


What is garbage collection and how it works ?

0 Answers  


Which ports are used by virueses?

1 Answers  


Can "this" be used within a static method?

0 Answers  


How can you see which services are running on a Windows box?

1 Answers  


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

0 Answers   CitiusTech,


Write a program to create a user control with name and surname as data members and login as method and also the code to call it.

0 Answers  


Do you know what is linq?

0 Answers  


What are The Main Difference Between Client-server Based Applications and Web Based Applications

1 Answers   CTC,


What is a windows process in .net?

0 Answers  


Categories