What are Generics? Where do we use them.
Answer Posted / ritz
Generics was introduced in Framework 2.0
With generics we can have typed classes. While defining
class we simply give placeholders and when we create
objects of that class we declare the placeholder to be of
some type(like int, double, string, etc.) and from that
point on our object gets bind to that type only.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What exactly is being serialized when you perform serialization in .net?
Differences between datagrid, datalist and repeater in .net?
Tell us what is a sealed class?
What is connection pooling and how do you make your application use it?
Explain the difference between static page and dynamic page?
How do you define the lease of the object in .net?
Explain soap and xml?
What is .net core used for?
Can a try block have nested try blocks?
What are nullable types in .NET
What is .net assembly?
What is multiThreading in .NET?
Explain me what is .net web service?
What is msil, il?
What does mean by .net framework?