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
Differentiate between sqlclient oledb and providers?
What is oledbconnection c#?
Explain get and set accessor properties?
What is dll in c#?
What's the difference between a static method and a non static method c#?
Is there an equivalent to the instanceof operator in visual j++?
What is difference between array and list?
How many types of serialization are there in c#?
How many parameters can a method have c#?
Explain anonymous type in c#?
What is difference between const and static in c#?
How many static constructors are allowed in a class?
Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?
Explain Constructor and destructor?
What's the difference between class and object?