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 .net environment?

1028


What is difference between static page and dynamic page?

940


Can you create instance of a class which has private constructor?

965


What is the difference between user control an custom control? Advantages/disadvantages?

971


Explain me what is the difference between a class and an object, and how do these terms relate to each other?

883


Can a try block have more than one catch block?

1068


Which Namespace is used to to achieve MultiThreading in .NET?

1026


Explain Creational design pattern in .NET?

999


why you wouldn't want to write into it even if you could

972


Sql Queries: A Table will be given Omiting Duplicate rows and adding a new column

2311


How is threading done in .net?

948


What is func in .net 3.5?

942


I want to serialize instances of my class. Should I use xmlserializer, soapformatter or binaryformatter?

1004


Using activex control in .net?

944


How many types of design patterns available in .NET?

978