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
What is the difference between imperative and interrogative code?
Is Driver Script any how related to AOM?
Explain why do we use the “using” statement?
What is shared and repeatable inheritance?
Explain how to produce an assembly?
i m fresher,hav SQL knowledge but in my ofc. i hav to work on dotnet. so plz tell me how to learn it,? from where to stat? i hav C prog. knowledge, ASP.net
What are the security policy levels in .Net
explain the states of a window service application?
Explain Creational design pattern in .NET?
Explain difference between panel and groupbox classes using .net?
Explain asp.net?
What is lazy initialization?
Do you know what are three common acronyms used in .net, and what do they stand for?
Should I implement finalize on my class? Should I implement idisposable?
What is interface and abstract class in .net?