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
Is int a struct in c#?
Define a strong name in .net?
What is system predicate?
Define c# and list the features.
How can encapsulation be achieved?
Name some properties of array.
What is data bind in c#?
What is event delegate in c#?
What is dll in c#?
Explain the difference between the system.array.copyto() and system.array.clone()?
What is a reference type c#?
Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!
What is gac? What are the steps to create an assembly and add it to the gac?
Can a child class call the constructor of a base class?
Explain the difference between “as” and “is” operators used in c#?