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?

Answer Posted / rama krishna

Generics are place holders for actuval types.
Generics are defenied with left and right angular brackets.
Generics allows you to define type safe data sturtures
without comiting to actual types.
Generics in .net let you reuse the code and effort you put
implemnting in it.once you develop,test and deploy ur
application it can be used with any data type with future
type also it will support.why bcoz Generics doen't force
boxing or unboxing for value types or downcasting the
refernce types.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I process command-line arguments?

1028


Can a abstract class have a constructor?

935


What is the difference between and xml documentation tag?

1030


What is interface inheritance?

987


What are the Types of optimization and name a few and how do u do?

1036


When should you use generics?

983


Can you instantiate an abstract class c#?

968


What is sql transaction in c#?

941


What is use of console?

967


What is the difference between yield and return?

947


What is the difference between structure and class in c#?

1026


Why ienumerable is used in c#?

921


Differentiate between method overriding from method overloading with its functionality?

1080


What is difference between for and foreach in c#?

1052


Explain the difference between passing parameters by value and passing parameters by reference with an example?

989