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
Why is ienumerable used?
Can an abstract class inherit from another abstract class c#?
What is data annotation in c#?
In .Net, what is an assembly? Also explain the type of assembly.
How do I do a case-insensitive string comparison?
How long has c# been around?
Can properties be overloaded in c#?
What is the default value of string in c#?
What is a web service in c#?
What is difference between throw and throws in c#?
What is console based application?
how background thread access to ui control?
What is static classes?
Explain the OOPS concept in C#?
Do while loops yes or no c#?