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?

Answers were Sorted based on User's Feedback



What are Generics?..

Answer / rt

Generics was a new addition in .NET 2.0
With generics we can create reusable classes. It promotes code reusability.
With generics we create classes with placeholders(<T>), and while creating object of that class we declare a value for that placeholder(int,double,etc) and from then on that object is bind to that type.

Is This Answer Correct ?    5 Yes 1 No

What are Generics?..

Answer / kumar vaibhav

Generics is a data structure which allow you to create type-safe data structures without committing to actual data types. Generics provides significant performance boost and higher quality code by reusing data processing algorithms without duplicating type-specific code.

Is This Answer Correct ?    5 Yes 1 No

What are Generics?..

Answer / venkat2050

generics in dot net have two concept boxing and unboxing

boxing ... we can convert value type into reference type

unboxing... it is very unexplict operation

Is This Answer Correct ?    4 Yes 3 No

What are Generics?..

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

What are Generics?..

Answer / rajnesh

generic === generic is a Namespace just collection of
arrays & arraylist .

which are use in c#

using system .collection.Generic;

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More C Sharp Interview Questions

Can we inherit a private class in c#?

0 Answers  


what is scope of a protected internal member variable of a c# class

0 Answers   Cognizant,


What is the delegates in c#?

0 Answers  


State the top.NET class that everything is derived from?

0 Answers   Siebel,


What is the Difference between value and reference type?

12 Answers   Wipro,


What is unmannaged code and will CLR handle this kind of code or not .

0 Answers   DELL,


Why do I get a syntax error when trying to declare a variable called checked?

0 Answers  


How do you implement Inheritance in dot net ?

5 Answers   MMTS, Sea Energy,


List down the access modifiers available in c#?

0 Answers  


Are c# generics the same as c++ templates?

0 Answers  


How jit (just in time) works?

0 Answers  


Where do you add an event handler ?

1 Answers  


Categories