What are Generics?

Answer Posted / kumar vaibhav

Generics is a data structure which allow you to create type-safe data structures without committing to actual data types. Generics provides significant performance boost and higher quality code by reusing data processing algorithms without duplicating type-specific code.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you prevent a class from being inherited in c#?

454


How is a string immutable?

496


Are c# destructors the same as c++ destructors?

565


What is CLR and its application.?

570


How many constructor can a class have?

475






What are delegate methods?

470


How many dimensions can an array have?

471


What is data type c#?

498


Can struct have constructor c#?

507


What is meant by console programming?

479


What are the Types of caching

543


What is list collection in c#?

526


Is typeof c#?

542


How to add controls dynamically to the form using c#.net.

478


Can a method return multiple values in c#?

451