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
Tell us what is json data, and what is one way that .net developers can work with json?
What is the use of design pattern?
What is the difference between response.write & response.output.write?
Explain me how does linq work?
What is func in .net 3.5?
What is the use of activex control in .net?
Difference between machine.config and web.config?
What is an anonymous method?
Is there any inbuilt tool or command provided by .NET to view the code inside the assembly?
Explain what is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?
Do you know what is the difference between an abstract class and an interface?
What is msil, il?
What is .net3.5?
Explain something about WebService?
Explain the main components in .net?