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 does do in c#?
Can we have two main methods in c#?
What is strong data type in c#?
What is the keyword used to prevent a class from being inherited by another class?
Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records
What is selector c#?
Is it possible to inherit multiple interfaces?
Which is more efficient for loop or while loop?
State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?
How many keyword present in C# language ?
What is the namespcae generally given to the webpage of the .NET Framework ?
How to implement an object pool in c#.net.
What is an array class?
How can I create a process that is running a supplied native executable (e.g., Cmd.exe)?
What are most desktop applications written in?