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 this keyword in C#?
Is functional interface runnable?
What language do desktop applications use?
What is overloading in c#?
What is unsigned int?
Are string objects mutable or immutable?
What are the steps to make an assembly to public?
Can main method be final?
What is web forms in c#?
Can you have parameters for static constructors?
What's the c# syntax to catch any possible exception?
what are the differences between a class and structure
Which operator cannot be overloaded in c sharp?
Can property be private in c#?
Is lazy t thread safe?