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
What is a delegate? How can it works?
Is it possible to inherit multiple interfaces?
What is difference between array and list in c#?
Which framework is best for desktop application?
Why do we use inheritance in c#?
What is code verification?
What are the types of assembly available
Why do you need boxing in c#?
Can datetime be null c#?
How do namespaces work?
What are class fields?
Is hashset ordered c#?
What are the different approaches of passing parameters to a method?
What are the types of access modifiers?
Explain different properties of object oriented systems.