What are Generics? Where do we use them.
Answer Posted / rakesh kumar kunchala
Generics are used to have Typed Arrays.
Ex: if we have define that an array is confined to products.
if we push objects of product into array it accepts.
if we push employee objects into this array it will show
error . since the type of the array is product.
Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
Difference between abstract class and interface in .net?
How boxing and unboxing occures in memory?
Explain me what is the difference between a class and an object, and how do these terms relate to each other?
What is the intermediate language between asp and asp.net1.0?
What is typical about a windows process in regards to memory allocation in dot net?
Explain how to load the contents of an xml file into an xmldocument object?
How to view a .NET assembly?
Using activex control in .net?
Explain is the jit an interpreter?
Please explain what do the terms “boxing” and “unboxing” mean?
If you are executing these statements in commandobject. Select * from table1; select * from table2? How you will deal result set? 42. How do you sort a dataset.
Is .net core stable?
Explain about .Net products?
Explain what is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?
What is the use of gacutil.exe?