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 is the difference between .net 2000 and .net 2005(features)? Which one is better?
What is typical about a windows process in regards to memory allocation in dot net?
Different levels of priority provided by .net.
How to create a key pair in .net?
Why do we use the “using” statement?
How many design patterns can be created in .net?
When should I use .net core?
Explain what is the difference between encrypting a password and applying a hashing?
What does cil do?
Explain about the Common Language Runtime?
I'm having some trouble with cas. How can I troubleshoot the problem?
Explain why do we use the “using” statement?
What is dot net architecture?
If any body working in Infosys, please can u give me the referense to that company because i hered that their is openings for freshers with referal..
Explain how to redirect tracing to a file?