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
How will you load an assembly which is not referenced by current assembly?
What is delegation in .net?
When should I use .net core?
What are the important components of .net?
What are the purposes of using .net?
The project which you have made, which methodology did you use?
What is heap and what is stack?
Explain what is reflection in microsoft .net context?
Please explain what is a delegate?
Different levels of priority provided by .net.
What's wrong with a line like this? Datetime.parse(mystring);
How can I get at the win32 api from a .net program?
Explain how to redirect tracing to a file?
What is assemblies in .net?
what is the keyword used for self reference?