Answer Posted / rt
Generics was a new addition in .NET 2.0
With generics we can create reusable classes. It promotes code reusability.
With generics we create classes with placeholders(<T>), and while creating object of that class we declare a value for that placeholder(int,double,etc) and from then on that object is bind to that type.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What are sessions in c#?
Are enums static c#?
Illustrate namespaces in c#?
how to print invert pyramid in c#
What is the difference between ienumerable and icollection?
How do I do implement a trace and assert?
Explain namespaces in c#.
What is difference between ilist and list in c#?
How to implement delegates in c#.net
What is the difference between abstract and virtual?
Can enum have methods c#?
Are c# strings immutable?
How many types of inheritance are there in c#?
What is Fragmentation and its Types?
Does the variables of a private class-level inherited?